Commit Graph

869 Commits (82fad36b78b2db5f7da65a7a840ce8e901b2ce9a)

Author SHA1 Message Date
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 03662aa5e5 Issue #2278583 by nlisgo, Berdir, joshi.rohit100 | Fabianx: Fixed field_has_data looks at current data instead of revisioning data: this can lead to data loss. 2014-10-23 12:14:40 +01:00
Nathaniel Catchpole fdcf584b37 Issue #2340701 by prics, martin107: Use array_diff_key() more in core. 2014-10-14 14:09:47 +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
Jennifer Hodgdon 1a420c934f Issue #2354005 by benelori: Fix sample function body for hook_field_formatter_info_alter() 2014-10-12 04:51:20 -07:00
Nathaniel Catchpole ac9054bed0 Issue #2310093 by alexpott, hussainweb : Fixed Config install and import should map from storage record not set properties directly. 2014-10-10 19:47:54 +01:00
webchick 2f6dff6f87 Issue #2350571 by mitrpaka: Replace extend of deprecated DrupalUnitTestBase with KernelTestBase in Field. 2014-10-09 11:30:03 -07:00
Nathaniel Catchpole d2f9c183bf Issue #2318377 by dawehner, Wim Leers, damiankloip: Determine whether a view is cacheable and its required contexts, store this i/t config entity. 2014-10-08 12:58:40 +01:00
Alex Pott 046bf09b43 Issue #1922966 by jibran, damiankloip: Remove 'bool' and 'translatable' key from option definitions. 2014-10-07 17:23:15 +01:00
Alex Pott 3bb1ac5885 Issue #2183421 by alimac, Crisz, InternetDevels, schnippy, evilehk, bender404 | bohart: In InOperator Rename Views properties to core standards. 2014-10-02 14:22:38 +02:00
Alex Pott dbea83253c Issue #2348397 by xjm: Fixed HEAD BROKEN: accidental "fixed_dependencies" key in commit 2c11d0. 2014-10-01 19:39:07 +02:00
Alex Pott 2c11d0eaef Issue #2239227 by marthinal, andypost | ivanjaros: Fixed Views GroupwiseMax class calls protected properties. 2014-10-01 17:46:42 +02:00
Alex Pott ba2b869092 Issue #2275659 by fago, pgautam: Separate FieldableEntityInterface out of ContentEntityInterface. 2014-10-01 16:11:14 +02:00
Alex Pott 5fdcfc74d6 Issue #2346911 by larowlan, vijaycs85, Berdir | sihv: Fixed Base field overrides have incorrect default value callable properties. 2014-09-30 08:42:48 +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 e18b616131 Issue #2346297 by fago: Move getting option providers to field definitions. 2014-09-28 16:14:33 -07: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 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 5379584a96 Issue #2344843 by yched: Fixed hook_field_storage_config_update_forbid() sample code still uses ArrayAccess on FieldStorageConfig. 2014-09-27 04:08:55 -07:00
webchick 7a78df958b Issue #2344669 by swentel: Fixed Rename the field to field storage in the annotation of fieldstorage . 2014-09-27 00:17:12 -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
Nathaniel Catchpole d56b70cffa Issue #2344979 by yched: Rename field type list_text to list_string. 2014-09-26 11:05:36 +01:00
Alex Pott 81e675a570 Issue #2341313 by dawehner: Convert all t() calls to $this->t() in views. 2014-09-24 00:05:54 +01:00
Alex Pott 22d79dc212 Issue #2238149 by Berdir, swentel: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-22 09:40:58 +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 f27fd1f598 Issue #2337927 by effulgentsia, plach, fago: Fixed SqlContentEntityStorage::onFieldStorageDefinition(Create|Update|Delete)() is broken for base fields. 2014-09-19 07:57:48 +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
Nathaniel Catchpole f022decb56 Issue #2260457 by alexpott, beejeebus: Fixed Allow config entities to remove dependent configuration keys when dependencies are deleted due to module uninstall. 2014-09-16 10:05:37 +01:00
Alex Pott 32d5530e58 Issue #2333113 by effulgentsia, plach: Add an EntityDefinitionUpdateManager so that entity handlers can respond (e.g., by updating db schema) to code updates in a controlled way (e.g., from update.php). 2014-09-15 21:37:27 +01:00
Alex Pott 2eaac44142 Issue #2331627 by swentel, andypost: Move config schema for Core field types out of field.module. 2014-09-14 21:57:44 +01:00
catch 21a11cf58f Issue #2336177 by alexpott, YesCT: Fixed ConfigurableLanguage cannot be created/removed directly, integrate language_save() and language_delete(). 2014-09-14 15:27:33 +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
Alex Pott d76697cd33 Issue #1182850 by xjm, Stefan Lehmann, jmcintyre, Bojhan: Remove full stops at the end of checkbox options. 2014-09-12 12:32:10 +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
Alex Pott 7ea1cd958e Issue #2221433 by damiankloip, dawehner: Clean up views rendering. Move stuff from template_preprocess_views_view(), into a #pre_render callback. 2014-09-11 17:08:26 +01:00
Alex Pott fe85f9be3c Issue #2320157 by moshe weitzman, Wim Leers, penyaskito, tim.plunkett: Generate placeholder content for Field types. 2014-09-09 22:15:21 +01:00
Nathaniel Catchpole f749eac343 Revert "Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller."
This reverts commit 3ac426f9cb.
2014-09-09 14:21:09 +01:00
Nathaniel Catchpole 3ac426f9cb Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-09 14:06:02 +01:00
Nathaniel Catchpole 71d247919f Issue #2330091 by plach: Rename ContentEntityDatabaseStorage to SqlContentEntityStorage. 2014-09-08 13:12:45 +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
Nathaniel Catchpole 30cad25c71 Issue #2031717 by Berdir, swentel, fago: Make entity module not required. 2014-09-02 10:36:57 +01:00
webchick 6f9fc447bb Issue #2037979 by Gábor Hojtsy, Sweetchuck, jhodgdon, dawehner: Fixed 'Current user's language' views filter label is named very misleading. 2014-08-29 22:17:55 -07:00
webchick 8c68491896 Issue #2273277 by Wim Leers, effulgentsia, Fabianx: Fixed Figure out a solution for the problematic interaction between the render system and the theme system when using #pre_render. 2014-08-29 16:37:14 -07:00
webchick dcc880bc10 Issue #2326719 by plach, effulgentsia: Move pseudo-private table mapping functions from ContentEntityDatabaseStorage to public API of DefaultTableMapping. 2014-08-29 15:38:20 -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 0d86fa90bf Issue #2320253 by yched: Fixed FIC/FSC::preSave() do not call the parent implementation. 2014-08-25 22:34:38 -07:00
webchick 7e7c715404 Issue #2325999 by swentel: Move config schema for Core field types out of field.module . 2014-08-25 21:40:13 -07:00
webchick ee52df94dd Issue #2326981 by effulgentsia: Move \Drupal\field\FieldException to \Drupal\Core\Field\FieldException. 2014-08-25 20:44:40 -07:00
webchick 703ec1b3f1 Issue #2313875 by alexpott, yched: Preserve the 'field_type' within FieldInstanceConfig. 2014-08-24 13:12:28 -07:00
webchick 38587bde94 Issue #2240459 by Gábor Hojtsy, penyaskito | LoMo: Fixed Applying default language fallback rules to interface translation has impressively bad results. 2014-08-23 15:04:47 -07:00
webchick de5fe262f2 Issue #2318087 by tim.plunkett: Replace ['input'] with FormState::getUserInput(). 2014-08-23 12:18:55 -07:00
Alex Pott 7fde4cf6e6 Issue #2212427 by Mixologic, YesCT, Sutharsan, mgriego, icseh., visabhishek, znerol: Use interface instead of class name for language manager where appropriate. 2014-08-22 23:50:23 +01: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
Nathaniel Catchpole 5348e2e361 Issue #2283977 by alexpott, Gábor Hojtsy, effulgentsia, fago: Create a new ConfigEntity type for storing bundle-specific customizations of base fields. 2014-08-19 11:25:28 +01:00
Alex Pott 62bb5c4d53 Issue #2218065 by jhodgdon, dawehner: Fixed Need to join fields to the entity field data tables, not entity tables, or filtering increases number of results. 2014-08-18 17:41:42 +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 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 f9c1ff235b Issue #2314123 by sun: Fixed various tests. 2014-08-12 00:40:02 -07: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 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 717243ccbb Issue #2296787 by gauravkhambhala | jhodgdon: Fixed hook_field_config_update_forbid() is in the wrong group/topic. 2014-08-07 22:16:24 +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
webchick 0b0cdc2921 Issue #2306539 by swentel, alexpott, sun: Fixed FieldUnitTestBase::createFieldWithInstance() pollutes test class with arbitrary properties. 2014-08-04 10:24:56 -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 5f4bbab95c Issue #2313823 by tim.plunkett, martin107: Use FormStateInterface for all typehints. 2014-08-04 12:21:15 +01:00
Alex Pott 54a49d507c Issue #2313053 by Berdir: Fixed Field storage and instance call toArray() in __wakeup() is very slow, remove it?. 2014-08-04 12:05:35 +01:00
Nathaniel Catchpole 7420742b62 Issue #2218025 by jhodgdon: Fixed Field language filter/sort/etc. for Views do not work. 2014-07-31 16:21:58 +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
Dries a678efd6d7 Issue #2308707 by eojthebrave: Field widget @defgroup references wrong class in documentation. 2014-07-25 13:26:47 -04:00
Jennifer Hodgdon c3f272d6da Issue #2308707 by eojthebrave: Fix annotation class reference in field.api.php 2014-07-24 16:17:15 -07:00
Nathaniel Catchpole f1ed2475c4 Issue #2293773 by Gábor Hojtsy, alexpott, effulgentsia, penyaskito, hussainweb: Fixed Field allowed values use dots in key names - not allowed in config. 2014-07-23 10:33:37 +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
Nathaniel Catchpole 5dad0b8606 Issue #597236 by Berdir, catch, msonnabaum, Xano, Wim Leers, jhedstrom, amateescu, corvus_ch, swentel, moshe weitzman, Gábor Hojtsy, riccardoR, killes@www.drop.org, et al: Add entity caching to core. 2014-07-18 11:53:52 +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
Nathaniel Catchpole a780b52e2c Issue #2226063 by Berdir, plopesc: Merge ListBooleanItem from options module into BooleanItem. 2014-07-17 11:07:54 +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 16102e801e Issue #2301587 by joshi.rohit100: Remove form_state_defaults() as it is deprecated. 2014-07-13 10:08:09 +01:00
Alex Pott 5ec328b270 Issue #2301597 by joshi.rohit100: Remove drupal_prepare_form() as it is deprecated. 2014-07-13 09:54:57 +01: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
Dries 135ca1c04f Issue #2294177 by alexpott: Allow Drupal\Core to provide [config] entity types. 2014-07-11 12:24:38 -04:00
Alex Pott 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +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 8501b7f2d0 Issue #2257519 by sun, larowlan, xjm, cs_shadow: Move content assertion methods into a trait, so DUTB can consume it, too. 2014-07-10 16:32:46 +01: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
Alex Pott 3c94e31037 Issue #2295447 by yched: Fixed Leftover access to FieldInstanceConfig::$field. 2014-07-07 14:05:58 +01:00
Alex Pott 5f9c6c3c66 Issue #2200355 by yched, andypost: Move functions in field.form.inc into Core/Field. 2014-07-07 13:01:38 +01:00
Nathaniel Catchpole fee42cb6b3 Issue #2247095 by yched, xjm, alexpott: Optimize loading of deleted fields. 2014-07-03 13:49:37 +01:00
Alex Pott 18b755b237 Issue #2282627 by yched, swentel: Remove field_uuid from field instance config records. 2014-07-03 12:26:19 +01:00
Nathaniel Catchpole b4f282a55b Issue #2144263 by fago, yched, alexpott, Berdir, plach, andypost, effulgentsia, michaelfavia: Decouple entity field storage from configurable fields. 2014-07-01 13:59:17 +01:00
Alex Pott da5ea41603 Issue #2293063 by Gábor Hojtsy: Fixed Config schema mapping parsing is inconsistently forgiving, does not conform to the interface. 2014-07-01 11:59:18 +01:00
Nathaniel Catchpole e8ab0b268c Issue #2293723 by yched: Generate lighter $form[$field] structures. 2014-06-30 11:16:20 +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
webchick 5cd540a56d Issue #2286681 by alexpott, tim.plunkett: Fixed Make public properties on ConfigEntityBase protected. 2014-06-27 08:09:42 -07:00
Nathaniel Catchpole 5e58da00e6 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-26 11:47:01 +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