Commit Graph

457 Commits (67cb2182c220079f39f0426304abcb1519c16e7b)

Author SHA1 Message Date
Nathaniel Catchpole cd9b0f4fde Issue #1426804 by alexpott, swentel: Fixed Allow field storages to be persisted when they have no fields. 2014-11-12 16:16:39 +00:00
Alex Pott de5686486b Issue #2358685 by BarisW, Aleksandar_P | LewisNyman: Remove edit and configure icons from misc. 2014-11-08 17:51:04 -08:00
Alex Pott 789de472d0 Issue #2354597 by esod, YesCT, vadim.hirbu, ashutoshsngh: Remove usage of form_set_value(). 2014-11-07 12:05:32 -08:00
Alex Pott 80eccb1896 Issue #2361823 by rpayanm, javivf: Remove usage of drupal_strtolower(). 2014-11-03 16:13:43 +00:00
Alex Pott ea325a904e Issue #2361745 by rpayanm, javivf: Remove usage of truncate_utf8(). 2014-11-03 10:38:40 +00:00
Alex Pott 537e465b9c Issue #2367665 by amateescu: Add primary actions on the 'Field storage settings' and 'Field settings' forms. 2014-11-03 10:11:26 +00:00
catch 150893931e Issue #2271419 by alexpott, larowlan: Fixed Allow field types, widgets, formatters to specify config dependencies. 2014-11-01 09:42:21 +00:00
Alex Pott 6061967bd1 Issue #1953770 by amateescu: Move the field-specific settings form elements at the top of the form. 2014-10-30 14:49:27 +00:00
Alex Pott 56af6886be Issue #2324371 by lauriii, aneek, chx, joelpittet, webflo, Fabianx, rteijeiro: Fix common HTML escaped render #key values due to Twig autoescape. 2014-10-27 09:47:54 +00:00
Nathaniel Catchpole c2125b059c Issue #2282519 by alexpott, cilefen: Fixed Add content dependency information to configuration entities. 2014-10-23 21:22:34 +01:00
Alex Pott 6b265331ea Issue #2238981 by dawehner, effulgentsia, tim.plunkett: Change controllers to receive route parameters in their signature rather than via $request->attributes. 2014-10-15 11:26:18 +01:00
Alex Pott 2730f9b233 Issue #2354107 by mpdonadio, tstoeckler: Fixed field_ui_help() should check for the existence of modules before linking to their routes. 2014-10-13 20:10:20 +01:00
Nathaniel Catchpole 4e0e15b201 Issue #2352641 by chx, alexpott: Break router.builder dependency. 2014-10-10 20:41:01 +01:00
Alex Pott 8d590856a8 Issue #2350997 by SchnWalter: Fixed Help module install error when Taxonomy is disabled because of Field UI. 2014-10-10 12:42:17 +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 d3f105ed86 Issue #2226207 by lauriii, mgbellaire, Cottser, m1r1k, Mark Carver, LinL, rachel_norfolk, rteijeiro, skwashd, davidhernandez, euphoric_mv: Make 'template' the default output option for hook_theme(). 2014-10-08 12:06:17 +01:00
Alex Pott 3b2e57f0c6 Issue #2326409 by Berdir, tim.plunkett: Annotate render element plugins. 2014-10-05 11:31:26 +02:00
webchick b79a4bc411 Issue #2346969 by Berdir, damiankloip: Fixed Shortcut overview page is sad. 2014-10-01 01:18:24 -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
Alex Pott 420248266f Issue #2344821 by yched: Unify 'name' / 'field_name' in FieldConfig / FieldStorageConfig. 2014-09-28 18:36:18 +02: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
webchick c1c7e14bed Issue #2325485 by tim.plunkett, almaudoh: Convert field_ui_element_info() to Element classes. 2014-09-22 22:48:03 -07: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
webchick 1476c56c62 Issue #2312093 by alexpott, yched, andypost, swentel | xjm: Rename FieldInstanceConfig to FieldConfig. 2014-09-19 19:45:52 -07: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 d617be8cba Issue #2331079 by znerol, dawehner: Use RouteMatch in access-checks and remove RequestHelper::duplicate(). 2014-09-17 23:14:49 +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
Nathaniel Catchpole 0391038ba5 Issue #2224395 by swentel, dixon_, Berdir, fago: Move entity UI code to field_ui module and remove entity.module. 2014-09-16 10:08:00 +01:00
Alex Pott 5de9e40727 Issue #2199637 by Berdir, sun, swentel: Replace "required" flag of Field module with proper dependencies. 2014-09-13 15:22:42 +01:00
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
Jennifer Hodgdon 1f380d8853 Issue #2334405 by almaudoh, drunken monkey: Clean up documentation links to functions moved to render element classes 2014-09-10 14:56:14 -07:00
Alex Pott 450d8c9b97 Issue #2273665 by nikop | Charles Belov: Fixed Inconsistent wording on Manage Fields tab. 2014-09-09 16:02:39 +01:00
Alex Pott 055aac105d Issue #2332577 by Berdir: Remove EntityDatabaseStorage. 2014-09-09 14:27:04 +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
Nathaniel Catchpole 30cad25c71 Issue #2031717 by Berdir, swentel, fago: Make entity module not required. 2014-09-02 10:36:57 +01:00
Dries ec2b048e1c Issue #2224761 by Gábor Hojtsy, alexpott, pfrenssen, effulgentsia, xjm, mlncn: Add a generic way to add third party configuration on configuration entities and implement for field configuration. 2014-08-29 12:48:20 -04:00
webchick c7013bdaee Issue #2313931 by Berdir: Merge ['controller'] with ['build_info']['callback_object'] and add a method for it. 2014-08-25 22:24:55 -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 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 38d39bc060 Issue #2319819 by jhodgdon, hueman: Fixed Default value heading missing from Field UI form. 2014-08-18 14:25:31 +01:00
Alex Pott c2a74e6531 Issue #2204325 followup by Arla: Fixed The "rendered entity" formatter breaks for entity types with out a ViewBuilder. 2014-08-18 13:47:16 +01:00
Alex Pott b5c736da3d Issue #2204325 by Arla, cbr, Berdir, benjy: Fixed The "rendered entity" formatter breaks for entity types with out a ViewBuilder. 2014-08-11 07:50:26 -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 18ddb0044c Issue #2315807 by tim.plunkett: Remove support for path-based form redirects. 2014-08-07 21:43:27 +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
Alex Pott 5f4bbab95c Issue #2313823 by tim.plunkett, martin107: Use FormStateInterface for all typehints. 2014-08-04 12:21:15 +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
Alex Pott 76608ff7d4 Issue #2289999 by dawehner, Cottser | Fabianx: Add an easy way to create HTML on the fly without having to create a theme function / template. 2014-08-03 23:45:41 +01:00
Alex Pott 52f02da5a6 Issue #2265939 by tim.plunkett, dawehner, effulgentsia: Fixed [sechole] AccessManager::checkNamedRoute() leaks attributes from current request. 2014-08-02 23:37:02 +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 59c3c9757c Issue #2305023 by dawehner: Fixed Rename getCancelRoute to getCancelUrl. 2014-07-25 15:44:31 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00
Alex Pott 87e675f09b Issue #1825952 by Fabianx, joelpittet, bdragon, heddn, chx, xjm, pwolanin, mikey_p, ti2m, bfr, dags, cilefen, scor, mgifford: Turn on twig autoescape by default 2014-07-18 10:05:22 +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
Alex Pott fc939d4e6c Issue #2268761 by tim.plunkett: Remove support for function-based forms. 2014-07-16 23:26:38 +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 686b47cd0b Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom, rhm50, naveenvalecha, andypost, mandar.harkare, sergeypavlenko, sidharthap, SIz, tkuldeep17: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 23:55:56 -07:00
webchick a07a4918b3 Revert "Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user."
Fixing commit credit.

This reverts commit 25afa8100a.
2014-07-11 23:54:55 -07:00
webchick 25afa8100a Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 22:41:12 -07:00
Alex Pott 990ec23b4f Issue #2227601 by mparker17: Added [Follow-up] Add a Visually-hidden field label formatter. 2014-07-11 23:48:25 +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 7c61f7ba9a Issue #2227601 by mparker17, cs_shadow, swentel, lanchez, mgifford: Added a "Visually-hidden" field label formatter. 2014-07-08 11:45:01 +01:00
webchick 9c16305b36 Issue #2212283 by nod_: Auto-format JS files. 2014-07-02 11:48:06 -07:00
Dries 41576e126f Issue #1875996 by Xano, tim.plunkett, neclimdul, Rajendar Reddy, Jalandhar: Reconsider naming conventions for derivative classes. 2014-06-30 15:24:34 -04: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
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
Nathaniel Catchpole 0f752ca609 Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting. 2014-06-20 18:38:26 +01:00
Nathaniel Catchpole a4d7fad2ae Revert "Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting."
This reverts commit c9e73f7def.
2014-06-20 18:38:00 +01:00
Nathaniel Catchpole c9e73f7def Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting. 2014-06-20 13:21:57 +01:00
Nathaniel Catchpole 48bf0252f0 Issue #2005434 by alexpott, heddn, andrewmacpherson, swentel: Let 3rd party modules store extra configuration in EntityDisplay. 2014-06-18 11:44:18 +01:00
Nathaniel Catchpole 4e3ee43e76 Issue #2228763 by larowlan, alexpott, martin107, jessebeach, xjm: Create a comment-type config entity and use that as comment bundles, require selection in field settings form. 2014-06-13 10:34:04 +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 22fc66d5e4 Issue #2277941 by yched: Allow injecting an arbitrary FieldConfig when building a FieldInstanceConfig. 2014-06-09 09:41:31 -05:00
webchick d0d3e53361 Issue #2247991 by xjm, typhonius, donquixote: [May 27] Move all module code to PSR-4. 2014-05-27 19:43:20 -07:00
Alex Pott 00339b3d36 Issue #2167167 by Berdir: Remove field_info_*(). 2014-05-27 09:34:19 +01:00
Jennifer Hodgdon 6c4b0bd592 Issue #2267571 by martin107, xjm: Fix docs for field UI access classes 2014-05-22 09:03:54 -07:00
webchick 62613774e6 Issue #2178795 by tim.plunkett, jlbellido, YesCT, Berdir, Xano: Allow DiscoveryInterface::getDefinition() to throw an exception for an invalid plugin. 2014-05-20 23:28:08 -07:00
webchick 783bc94834 Issue #2226871 by tim.plunkett: ConfirmFormInterface::getCancelRoute() should always return Drupal\Core\Url. 2014-05-20 14:48:51 -07:00
Dries 809b361f20 Issue #2222719 by effulgentsia, tim.plunkett, xjm, dawehner: Use parameter matching via reflection for access checks instead of pulling variables from request attributes. 2014-05-16 12:45:50 -04:00
Alex Pott da026cf53c Issue #2116363 by Berdir, jessebeach | fago: Unified repository of field definitions (cache + API). 2014-05-15 12:26:18 -05:00
Nathaniel Catchpole bf3ba52fa0 Issue #2209337 by tstoeckler: Remove hidden property from test extensions. 2014-05-13 17:55:52 +01:00
webchick c040367fd1 Issue #2253977 by martin107, Mixologic: Use ConfigFactoryInterface to type hint ConfigFactory, Part II. 2014-05-12 21:58:53 -07:00
webchick eef067b5a5 Issue #2183113 by jhodgdon, effulgentsia, tim.plunkett, herom, larowlan: Update hook_help signature to use route_name instead of path. 2014-05-06 19:04:53 -07:00
webchick bb6730d5f9 Issue #1932074 follow-up by andypost: Remove duplicated #type declaration. 2014-05-06 14:03:19 -07:00
Alex Pott b0821d885e Issue #2079797 by ParisLiakos, Xano, amateescu, tim.plunkett: Provide a trait for $this->t() and $this->formatPlural(). 2014-05-02 08:29:56 +01:00
Nathaniel Catchpole 44b38852b8 Issue #2158571 by tstoeckler, dawehner, kgoel, tim.plunkett, catch, effulgentsia: Routes added in RouteSubscribers cannot be altered. 2014-05-01 10:46:02 +01:00
Nathaniel Catchpole a43b612ab7 Issue #1932074 by mgifford, larowlan, nick_schuch: Tags Includes Label which isn't Associated with an Input Form. 2014-04-28 16:05:29 +01:00
webchick f0bed14de3 Issue #2233787 by alexpott, xjm | tim.plunkett: Move default configuration into extension/config/install to clarify its purpose. 2014-04-16 15:00:30 -07:00
webchick bd4b9ae284 Issue #2229157 by cwells, LewisNyman, tompagabor: Add correct button types to account settings forms. 2014-04-15 20:34:04 -07:00
webchick cda250396e Issue #2225739 by killua99, Berdir, andypost, pfrenssen: Remove usage of field_info_instances(), use EntityManager::getFieldDefinitions() instead. 2014-04-11 12:01:24 -04:00
Alex Pott e51789c530 Issue #2235347 by tim.plunkett: Field instance operations are out of order. 2014-04-09 08:54:30 -04:00
webchick b504423ed0 Issue #2165725 by Xano: Introduce hook_entity_operation(). 2014-04-07 11:12:13 -07:00
Alex Pott cdcbb9d516 Issue #1662954 by balis_m, mjonesdinero, kalpaitch, IshaDakota, kerasai, ckrina, BarisW | ZenDoodles: Use less-specific tabledrag selectors. 2014-04-05 06:36:13 +01:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00