Commit Graph

398 Commits (231b59ff2cf91aeec344a915dde10c86d9f930e8)

Author SHA1 Message Date
webchick ffdeb4b435 Issue #2417809 by YesCT: link and shortcut have baseFieldDefinition settings that do not do anything: default_value max_length 2015-01-31 10:06:02 -08:00
webchick 089a68f4a8 Issue #2412509 by kgoel, pwolanin, Wim Leers, larowlan, effulgentsia, dawehner, xjm: Change LinkItem.uri to type 'uri' rather than 'string' and introduce user-path: scheme 2015-01-30 14:30:23 -08:00
webchick c8f6f3c848 Issue #2417445 by xjm, YesCT: Remove Url::toArray() 2015-01-30 12:15:57 -08:00
Alex Pott 9be3165caf Issue #1728804 by Berdir: Introduce (Content)EntityDeleteForm and children to handle entity deletions 2015-01-30 10:46:14 +00:00
webchick 887eea80ca Issue #2415129 by Wim Leers, Gábor Hojtsy: Small clean-up for Shortcut entity's usage of link field 2015-01-27 13:45:06 -08:00
Alex Pott f2fa574ce5 Issue #2235457 by dawehner, amateescu, hussainweb, Berdir, benjy, Wim Leers, lokapujya, RavindraSingh, Ryan Weal, jibran, Jalandhar: Use link field for shortcut entity 2015-01-27 16:15:59 +00:00
Alex Pott b4f1849a82 Revert "Issue #2403847 by larowlan, dawehner: Shortcut content entity validation misses form validation logic"
This reverts commit 4a3abdcad0.
2015-01-21 18:42:26 +00:00
Alex Pott 4a3abdcad0 Issue #2403847 by larowlan, dawehner: Shortcut content entity validation misses form validation logic 2015-01-21 17:16:43 +00:00
Alex Pott 3d14a7d25a Issue #2401505 by Berdir, jibran, larowlan: Add an entity collection template for lists 2015-01-19 09:37:11 +00:00
Nathaniel Catchpole 73069e05e8 Issue #2392319 by alexpott, effulgentsia: Config objects (but not config entities) should by default be immutable 2015-01-16 10:43:35 +00:00
Alex Pott 5859ca2cf2 Issue #2040135 by Wim Leers, Berdir: Caches dependent on simple config are only invalidated on form submissions 2015-01-15 09:36:26 +00:00
Alex Pott 77725b6084 Issue #2281645 by dawehner, andypost: Make entity annotations use link templates instead of route names 2015-01-13 10:32:23 +00:00
Alex Pott aff95777ed Issue #2309737 by rpayanm, hussainweb, max-kuzomko, herom, millerbennett, ianthomas_uk, quietone, Sutharsan, sumitmadan, toddmbloom: Remove deprecated format_plural usage 2015-01-10 13:56:47 +00:00
webchick b45af923af Issue #2382195 by tibbsa, subhojit777, tadityar, cilefen, Mile23: Clean-up simpletest module test members - ensure property definition and use of camelCase naming convention 2015-01-06 11:22:03 -08:00
Alex Pott 057b0cabaf Issue #2232477 by plach, yched, tstoeckler, amateescu: Fatal when adding new fields with NOT NULL constraints in a base table that contains existing entities 2015-01-02 21:39:42 +00:00
Alex Pott b778bfd1ec Issue #2143729 by tstoeckler, plach, jsbalsera, Berdir, mauzeh, damiankloip, andypost: Entity definitions miss a language entity key 2014-12-29 22:15:19 +00:00
Nathaniel Catchpole 95d4c594b0 Issue #2395395 by alexpott, effulgentsia, Gábor Hojtsy: TestBase lacks a config method to be used consistently in tests 2014-12-23 15:11:54 +00:00
Alex Pott 8ae055fb2e Issue #2230637 by plach, fran seva, yched, swentel: Create a Language field widget and the related formatter 2014-12-23 09:26:11 +01:00
Alex Pott 970ea07c17 Revert "Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator"
This reverts commit 0bcabf50e0.
2014-12-13 21:44:18 +01:00
Alex Pott 0bcabf50e0 Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator 2014-12-13 18:20:19 +01:00
Alex Pott 6031d0bb00 Issue #2384527 by tadityar, areke, rpayanm, preshetin: Make the class variables protected for ShortcutSet 2014-12-11 17:20:41 +01:00
Alex Pott 5ed1ed8c8a Issue #2388009 by hussainweb: Clean-up shortcut module test members - ensure property definition and use of camelCase naming convention 2014-12-11 16:53:18 +01:00
Dries 688fab7beb Issue #2390445 by Gábor Hojtsy: System module tests don't pass config schema check 2014-12-10 15:08:40 -05:00
Alex Pott 58480ee670 Issue #2362227 by dawehner, mpdonadio, znerol, tim.plunkett, skipyT: Replace all instances of current_path() 2014-11-28 13:38:17 +00:00
Dries dbde59f045 Issue #2235901 by alexpott, mdrummond, iMiksu, sun, Wim Leers: Remove custom theme settings from *.info.yml 2014-11-26 16:31:55 -05:00
Nathaniel Catchpole edd7889694 Issue #2376791 by dawehner, Wim Leers: Move all _content routing definitions to _controller 2014-11-20 09:47:06 +00:00
Alex Pott a924e23428 Issue #2371229 by rpayanm, joshi.rohit100: Exceptions when adding and deleting shortcut are regular messages, should be error messages 2014-11-18 23:34:41 +00:00
Alex Pott c0459a1dbe Issue #2351411 by chx, davidhernandez: Fixed [perf] Shortcut reruns routing. 2014-10-30 13:07:31 +00:00
Alex Pott ec054f386a Issue #2343715 by herom: Fixed RTL issues in shortcut module. 2014-10-24 20:42:23 +01:00
Nathaniel Catchpole 985edb1548 Issue #2351847 by damiankloip: Fixed Rename getCacheTag() to getCacheTags(). 2014-10-21 09:46:57 +01:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
Alex Pott 51c1012484 Issue #2354177 by yched: Shortcut::getRouteParams() should be named getRouteParameters() for consistency. 2014-10-12 22:32:29 +01:00
Nathaniel Catchpole 7652f683f3 Issue #1849822 by dawehner: Convert (HTML) view rendering to a render array. 2014-10-09 12:02:01 +01:00
Alex Pott 195d49998a Issue #2347465 by tim.plunkett, dawehner, cilefen: Convert all instances of #type link/links to convert to use routes. 2014-10-09 07:39:37 +01:00
Alex Pott 331f2878fb Issue #2322233 by Temoor, Mirroar, estoyausente: Replace all instances of user_role_load(), entity_load('user_role') and entity_load_multiple('user_role') with static method calls. 2014-10-05 11:16:10 +02:00
webchick 0189add1e3 Issue #2304987 by Berdir, Wim Leers: Fixed Don't invalidate cache tags of referenced entities, use entity list cache tags correctly, add test coverage for entity list cache tags. 2014-10-01 01:20:51 -07:00
Alex Pott 31022924e1 Issue #2343759 by pwolanin, larowlan, dawehner, tim.plunkett, effulgentsia, xjm, Wim Leers: Provide an API function to replace url()/l() for external urls. 2014-09-30 08:50:14 +02:00
Alex Pott 4f49087b71 Issue #2277103 by tim.plunkett, pwolanin, Wim Leers, dawehner, hotpizzas: Switch Drupal::l() and LinkGenerator to expect a Url object. 2014-09-29 15:41:29 +02:00
webchick 6d27e11a37 Issue #2100343 by Berdir, fago, martin107, visabhishek, sriharsha.uppuluri, Yorirou: Remove 'fieldable' key in entity definitions in favour of 'field_ui_base_route'. 2014-09-28 16:04:00 -07:00
webchick 8a1502882a Issue #1986640 by Wim Leers, chx, dawehner, effulgentsia: Support AND/OR conjunctions for permission checks. 2014-09-28 15:41:35 -07:00
webchick a6492ce9d9 Issue #2343651 by xjm, tim.plunkett, Wim Leers, dinarcon, dawehner: Remove most remaining l() calls. 2014-09-28 00:21:34 -07:00
webchick 0eda196d46 Issue #2340251 by iMiksu, alexpott, tim.plunkett, dawehner, Wim Leers: Remove most remaining url() calls. 2014-09-27 00:03:46 -07:00
catch 2c6cd92958 Issue #2340123 by Wim Leers: Setting cache tags can be tricky: use strings instead of nested arrays to improve DX. 2014-09-25 08:30:31 +01:00
Alex Pott ff035fc4fa Issue #2340507 by chx, Wim Leers: Make the new AccessResult API and implementation even better. 2014-09-22 22:08:27 +01:00
Nathaniel Catchpole 2a0254f973 Issue #2232605 by alexpott, dawehner, martin107, Cottser, sun: Fixed Themes cannot be uninstalled. 2014-09-19 10:25:26 +01:00
Alex Pott 52a101bc1d Issue #2328411 by dawehner, geerlingguy, herom: Convert all permissions to yml files and permission callbacks. 2014-09-18 08:41:29 +01:00
Alex Pott 57926bf527 Issue #2313757 by Berdir, Wim Leers, dawehner: Remove text_processing option from text fields, expose existing string field types as plain text in UI. 2014-09-17 21:59:08 +01:00
Nathaniel Catchpole 0f28b515f8 Issue #2287071 by Wim Leers, alexpott, chx: Add cacheability metadata to access checks. 2014-09-17 15:39:29 +01:00
Alex Pott 51a27d107f Issue #2323759 by Crell, dawehner: Modularize kernel exception handling. 2014-09-15 10:22:01 +01:00
Alex Pott 360af27e0e Issue #1664268 by droplet, G-raph, csakiistvan: Drop some browser specific prefixes. 2014-09-11 17:57:14 +01:00
Nathaniel Catchpole 4c8576c3f0 Issue #2022875 by Berdir, alexpott, Xano, swentel, tim.plunkett, vladan.me: Resolve difference between submitForm(), submit(), and save() in EntityFormController. 2014-09-09 14:01:03 +01:00
Alex Pott e023a689a9 Issue #791072 by Danny.Wouters, swentel, lz1irq, David_Rothstein, jbrown: Fixed Inline deletion of shortcut should not be confirmed. 2014-09-08 17:48:41 +01:00
Alex Pott f48f760f68 Issue #2285245 by Devin Carlson, martin107, swentel, mducharme: Fixed Missing "Save" button on shortcut links list. 2014-09-08 14:28:38 +01:00
Dries ca85441da2 Issue #2260121 by sun: PHPUnit Tests namespace of modules is ambiguous with regular runtime namespace (+ Simpletest tests). 2014-09-05 12:40:22 -04:00
webchick 285df2c54d Issue #2323721 follow-up by David_Rothstein: Restore missing test. 2014-09-03 22:13:27 -07:00
webchick cc87280b47 Issue #2320037 by Gábor Hojtsy: Fixed Non-fieldable entities (with only base fields) cannot be configured translatable, eg. shortcuts. 2014-09-03 08:34:18 -07:00
webchick 68f576fe81 Issue #2323721 by dawehner, chx: Fixed [sechole] Link field item and menu link information leakage. 2014-08-28 23:13:46 -07:00
webchick 9c537ec4b2 Issue #1966436 by naveenvalecha, cesarmiquel, Berdir, mr.york, jlbellido, segi, vasi1186, Leksat, Gábor Hojtsy, Schnitzel, grisendo, Aron Novak, likin, penyaskito, vijaycs85, kfritsche, fago: Fixed Default *content* entity languages are not set for entities created with the API. 2014-08-28 12:58:27 -07:00
webchick 6a6e601d4a Issue #2309323 by Berdir, tim.plunkett: Allow #submit and #validate to be specified as methods of the form object. 2014-08-23 14:18:18 -07:00
Alex Pott 629ebca291 Issue #1976158 by Berdir | msonnabaum: Rename entity storage/list/form/render "controllers" to handlers. 2014-08-22 12:59:25 +01:00
Alex Pott 7f2710bea8 Issue #2315333 by tim.plunkett: Move block plugin code out of block.module. 2014-08-21 12:20:41 +01:00
Alex Pott 0463b81a08 Issue #2322889 by sun: Fixed Various setUp() and tearDown() methods are not protected. 2014-08-18 16:50:50 +01:00
Alex Pott f1713d5754 Issue #2309187 by andypost | Crell: Fixed double-link-entry between Entity and Entity Type classes. 2014-08-18 16:30:22 +01:00
Alex Pott 109b895949 Issue #2322063 by Temoor: Replace all instances of shortcut_set_load(), entity_load('shortcut_set') and entity_load_multiple('shortcut_set') with static method calls. 2014-08-18 15:23:37 +01:00
Alex Pott b428eda79c Issue #2291829 by kgoel, dawehner | Crell: Standardize user route names. 2014-08-13 20:39:40 -07:00
Alex Pott 8fe81428b7 Issue #2315237 by andypost, daggerhart | yched: Rename FieldDefinition to BaseFieldDefinition. 2014-08-10 15:43:04 -05:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 258856aee9 Issue #2154435 by andypost, Berdir, mparker17: Rename EntityAccessController to EntityAccessControlHandler. 2014-08-07 23:27:28 +01:00
Alex Pott 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +01:00
Alex Pott 627a719a7f Issue #2189661 by tim.plunkett: Replace $form_state['redirect_route'] with setRedirect(). 2014-08-06 09:05:02 +01:00
webchick e3cb87a7de Issue #2314887 by Crell: Standardize shortcut entity route names. 2014-08-04 10:06:25 -07:00
Nathaniel Catchpole d9edc3a26a Issue #2314347 by alexpott: Fixed Remove config.storage dependency from ConfigEntityStorage. 2014-08-04 13:03:16 +01:00
Alex Pott 537457b512 Issue #2308821 by tim.plunkett: Replace FormErrorInterface with $form_state->setErrorByName() and $form_state->setError(). 2014-08-04 11:19:36 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott b01522995b Issue #2309137 by longwave, sqndr | LewisNyman: Remove quotes from all background-image: url() properties. 2014-07-29 11:01:33 +01:00
Alex Pott 59c3c9757c Issue #2305023 by dawehner: Fixed Rename getCancelRoute to getCancelUrl. 2014-07-25 15:44:31 +01:00
Alex Pott b560f348bd Issue #2303605 by cilefen: Rename *.menu_links.yml to *.links.menu.yml files to improve DX. 2014-07-16 23:39:40 +01:00
Nathaniel Catchpole e25a1ec76b Issue #2295737 by Gábor Hojtsy, vijaycs85, alexpott: Fixed Not all shipped configuration passes validation even with all modules enabled. 2014-07-16 14:27:26 +01:00
Alex Pott f2b6aa7a75 Issue #2291137 by cilefen | webchick: Rename various *links.yml files to improve DX. 2014-07-15 12:29:14 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07:00
Alex Pott 9e4300f7ad Issue #2298039 by lauriii, LewisNyman: Remove all PNG fallbacks for SVG. 2014-07-08 19:27:08 +01:00
Alex Pott 41c640266d Issue #1978976 followup by lussoluca: Convert shortcut_set_switch to a Controller. 2014-07-08 09:56:04 +01:00
Alex Pott c072353df4 Issue #2282161 by Crell: Split off link/url generation trait. 2014-07-07 14:52:01 +01:00
Alex Pott a8a5f10cc5 Issue #1978976 by dawehner, kgoel, tim.plunkett, pcambra, longwave, Albert Volkman, vijaycs85, pfrenssen, jibran, Xano, David Hernández, shivachevva, kim.pepper, InternetDevels: Convert shortcut_set_switch to a Controller. 2014-07-07 14:14:36 +01:00
webchick 94e0188a10 Issue #2294129 by xjm, tim.plunkett: Switch hook_help() to use RouteMatch instead of Request. 2014-06-29 20:33:08 -07:00
Jennifer Hodgdon 90a3498fe5 Issue #2290325 by cs_shadow: Get rid of form builder functions topic and references to it 2014-06-25 15:02:52 -07:00
Nathaniel Catchpole 3b84f7b213 Issue #2238217 by effulgentsia, neclimdul, martin107, tim.plunkett, cweagans, kim.pepper, xjm: Introduce a RouteMatch class. 2014-06-24 14:28:41 +01:00
Nathaniel Catchpole 86e432e05e Issue #2143291 by plach, alexpott, xjm, effulgentsia, pwolanin, swentel | yched: Clarify handling of field translatability. 2014-06-20 18:40:27 +01:00
Alex Pott 4831e2ee7c Issue #2226267 by fago, xjm, Berdir: Improve default value handling of fields to be consistent. 2014-06-16 00:19:55 +01:00
Nathaniel Catchpole 0c33183a9e Issue #2256679 by alexpott, tim.plunkett: Fixed Use config schema to determine which config entity properties to export regardless of whether they are public or protected. 2014-06-14 10:03:25 +01:00
webchick 3a42e91de1 Issue #2089331 by grom358 | thedavidmeister: [meta] Replace calls to check_plain() with Drupal\Component\Utility\String::checkPlain(). 2014-06-12 19:33:48 -07:00
webchick 49a900460d Issue #2246665 by jaredsmith, martin107, YesCT, filijonka, tstoeckler: Typehint with Drupal\Core\Language\LanguageInterface instead Drupal\Core\Language\Language. 2014-06-10 09:53:32 -07:00
Alex Pott 14b3d70650 Issue #2170947 by philipz, soipo: Visual cleanup of Edit shortcuts link. 2014-06-09 18:19:00 -05:00
Alex Pott bb03b6119f Issue #1541094 by c31ck, Antti J. Salminen | TravisCarden: Added 'access shortcuts' permission. 2014-06-09 18:13:41 -05:00
Nathaniel Catchpole b3db204762 Issue #2278051 by yched: Remove uses of non-existing 'max_length' setting on EntityRef fields. 2014-06-05 11:40:23 +01:00
Alex Pott 1ab2651755 Issue #2183231 by tstoeckler, plach, jessebeach, fago, Berdir, xjm, mauzeh: Make ContentEntityDatabaseStorage generate static database schemas for content entities. 2014-06-01 15:53:43 -05:00
Alex Pott 7a98471c44 Issue #2273631 by vijaycs85: Unify config entity schemas with a base schema type. 2014-05-31 06:55:13 -05:00
Dries 891a973cc0 Issue #2253987 by Mixologic: ShortcutAccessController.php should typehint ShortcutSetStorageInterface. 2014-05-28 15:23:16 -04:00
webchick 783bc94834 Issue #2226871 by tim.plunkett: ConfirmFormInterface::getCancelRoute() should always return Drupal\Core\Url. 2014-05-20 14:48:51 -07:00
webchick 6131ff1d8d Issue #2096899 by amateescu, msonnabaum | Berdir: Add ::create() to simplify creating new entities. 2014-05-20 14:27:11 -07:00