Commit Graph

321 Commits (1b920b29666dca8b326482036883ffc5b67d339c)

Author SHA1 Message Date
Alex Pott 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +01:00
webchick 73a65a3605 Issue #2313397 by tim.plunkett: Replace FormBuilderInterface::setValue() with FormStateInterface::setValueForElement(). 2014-08-04 10:23:18 -07: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
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
Alex Pott c05668e747 Issue #2304965 by longwave | klausi: Fixed Port form_select_options() XSS fix from SA-CORE-2014-003. 2014-07-18 08:51:59 +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
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07: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
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 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
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
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
Alex Pott 3d31d12b0e Issue #2262147 by sun: Various base test classes are not abstract. 2014-05-12 14:27:10 -05: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
Alex Pott f710a6c92e Issue #2209977 by tim.plunkett: Move form validation logic out of FormBuilder into a new class. 2014-05-06 00:07:47 +01:00
Dries 82f25bf143 Issue #2168321 by longwave, martin107: Several files have incorrect indentation. 2014-04-24 15:06:35 +02:00
webchick 8f65ff5c77 Issue #2237329 by cs_shadow, joachim: Comments in OptionsWidgetsTest are in the wrong place. 2014-04-15 20:27:33 -07:00
Alex Pott acbd5fa840 Issue #2226197 by fago, jessebeach: Introduce FieldStorageDefinitionInterface in the Entity Field API. 2014-04-13 13:36:33 -04:00
webchick 83bdbd50dd Issue #2235125 by tstoeckler: Use DataDefinition::addConstraint() instead of ::setConstraints(). 2014-04-08 13:57:58 -07:00
webchick fc6b814e02 Issue #2170775 by tim.plunkett, martin107, Xano: Remove array typehint from . 2014-04-08 13:56:43 -07:00
Alex Pott 7f61620431 Issue #2136197 by andypost, jessebeach, swentel, longwave, Berdir: Move field/instance/widget/formatter settings out of annotation / plugin definition. 2014-03-26 10:32:27 +01:00
Alex Pott 5909b03b34 Issue #2169983 by plopesc, yched: Move type-specific logic from ListItemBase to the appropriate subclass. 2014-03-25 10:12:07 +01:00
webchick aed35d3a1f Issue #2218199 by andypost: Move email and number field types to \Drupal\Core\Field, remove modules. 2014-03-16 12:10:42 -07:00
Alex Pott ed4b791c34 Issue #2192259 by andypost, amateescu, damiankloip: Remove ConfigField.. Item and List classes + interfaces. 2014-03-10 14:43:46 +00:00
webchick 89379df0d4 Issue #2201087 by plopesc: Rename hook_field_update_forbid to hook_field_config_update_forbid. 2014-03-05 08:50:56 -08:00
webchick 28d5e26943 Issue #2134887 by zwischenzug, yched, plopesc: Move field_view_field() / field_view_value() to methods. 2014-03-05 08:49:15 -08:00
webchick 8608fed622 Issue #2107533 by tim.plunkett, dawehner, pwolanin, Berdir: Remove {menu_router}. 2014-02-28 20:58:58 -08:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00:00
Alex Pott f6161fadb0 Issue #2002134 by fago, yched, amateescu, effulgentsia: Move TypedData metadata introspection from data objects to definition objects. 2014-02-24 11:44:26 +00:00
Alex Pott 966c33022f Issue #1919338 by catch, swentel, bblake, EllaTheHarpy, Cottser: Select widget (from the options module) prone to double encoding. 2014-02-24 09:57:30 +00:00
webchick 01457d74ea Issue #2200821 by yched, plopesc, Berdir, claudiu.cristea, swentel: Rename Fieldinterface and FieldInstanceInterface. 2014-02-22 21:16:46 -08:00
Alex Pott 40dc8daf51 Issue #2095303 by swentel, plopesc, Berdir, claudiu.cristea, yched: Rename 'field_entity' to 'field_config' and 'field_instance' to 'field_instance_config'. 2014-02-19 23:29:14 +00:00
Nathaniel Catchpole 13905ed190 Issue #1379070 by ocsilalala, rkjha, swentel, kid_icarus, Gisle: Field with multiple select list does not allow -None- to be a default value. 2014-02-14 17:05:59 +00:00
Nathaniel Catchpole 4bbef0e0c4 Issue #2152825 by plopesc, swentel, Berdir: Rename FieldItemBase::getFieldSetting[s]() to getSetting[s](). 2014-02-13 11:45:57 +00:00
Alex Pott cdab74eed5 Issue #1541298 by sun, Berdir: Remove Node module dependency from Testing profile. 2014-02-13 11:28:24 +00:00
Alex Pott e6f381cda6 Issue #2091347 by batigolix, surendramohan: Update hook_help for Options module. 2014-02-13 10:31:02 +00:00
Alex Pott 655f5a0316 Issue #2165835 by yched, tstoeckler: Rename EntityDisplay to EntityViewDisplay in accordance with its interface. 2014-02-09 00:54:32 +00:00
Alex Pott fe61b43d90 Issue #2183923 by tim.plunkett: Break the circular dependency in EntityManager. 2014-02-08 13:31:25 +00:00
webchick dca2d601ca Issue #1857442 by longwave, dawehner: Make $values optional on entity_create. 2014-02-06 23:47:06 -08:00
Alex Pott 76bcb27b13 Issue #2167641 by tim.plunkett: EntityInterface::uri() should use route name and not path. 2014-01-31 15:08:43 +00:00
Alex Pott 20315e1de7 Issue #2164827 by Berdir, Xano, tim.plunkett: Rename the entityInfo() and entityType() methods on EntityInterface and EntityStorageControllerInterface. 2014-01-30 12:14:58 +00:00
Nathaniel Catchpole aa03c3dd54 Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct. 2014-01-30 12:04:18 +00:00
webchick 074937a2d9 Issue #2015689 by smiletrl, jsacksick, mradcliffe, effulgentsia, nick_daffodil, stevector | swentel: Convert field type to typed data plugin for options module . 2014-01-13 10:06:09 -08:00
Dries 141cb6f304 Issue #2130811 by alexpott, Gábor Hojtsy, vijaycs85, sun, Wim Leers: Use config schema in saving and validating configuration form to ensure data is consistent and correct. 2013-12-20 11:27:41 -05:00
Alex Pott cdac25ee08 Issue #2143263 by plopesc | yched: Remove "Field" prefix from FieldDefinitionInterface methods. 2013-12-09 19:19:58 -04:00
Nathaniel Catchpole e8c263c4a5 Issue #2112239 by amateescu: Convert base field and property definitions. 2013-12-06 10:56:29 +00:00
webchick 1632e78326 Issue #2080535 by mrsinguyen: Remove Unused local variable from /core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php. 2013-12-04 00:51:21 -08:00
Jennifer Hodgdon 80fbd33d97 Issue #2145077 by TR, longwave: Fix about a zillion spelling errors, mostly in comments 2013-12-03 07:54:20 -08:00
webchick a83becbdea Issue #1255696 by dagmar, lslinnet, swentel, jenlampton, sun: Move field type modules into separate 'Field type' package. 2013-11-24 13:29:58 -08:00
webchick df1a669b77 Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global. 2013-11-23 12:57:04 -08:00
Alex Pott 840e20aec6 Issue #2097691 by plopesc, amateescu: Move FIELD_CARDINALITY_UNLIMITED constant to FieldDefinitionInterface. 2013-10-26 09:26:00 -07:00
Alex Pott 3ded2216b0 Issue #2115145 by Berdir | effulgentsia: Move field type plugins to Plugin/Field/FieldType. 2013-10-19 09:12:13 +01:00
Alex Pott c1027b9d1a Issue #2050835 by Berdir | yched: Move Widget, Formatter, and FieldType plugin types to the Core\Field system. 2013-10-18 12:57:37 +01:00
Nathaniel Catchpole a2e539c7c3 Issue #2094003 by swentel: Remove use statements in formatters, widgets and field types plugins. 2013-10-13 13:36:57 +01:00
webchick e9843f499e Issue #2080391 by johnmcc, Bladedu, chertzog, jeroen12345: Remove Unused local variables from multiple core files. 2013-10-08 21:40:04 -07:00
Alex Pott bcc5763239 Issue #1953408 by swentel, aspilicious, andypost, yched: Remove ArrayAccess BC layer from field config entities. 2013-10-04 08:55:32 +01:00
webchick cd74c62406 Issue #2091691 by tim.plunkett: Convert test non-form page callbacks to routes and controllers. 2013-10-03 21:27:56 -07:00
Alex Pott 510c81a9c5 Issue #2051923 by Berdir, dixon_, plach: Rename \Drupal\Core\Entity\Field\Field, related subclasses and interfaces to *FieldItemList. 2013-09-28 13:29:14 +02:00
webchick ef2e45b0e8 Issue #2089635 by tim.plunkett, disasm, larowlan: Convert non-test non-form page callbacks to routes and controllers. 2013-09-18 11:30:30 -07:00
webchick 034d956906 Issue #2075095 by yched, amateescu: Widget / Formatter methods signatures needlessly complex. 2013-09-16 08:52:28 -07:00
webchick 5bb0d5e667 Issue #2053489 by chx, tim.plunkett: Standardize on \Drupal throughout core. 2013-09-15 20:58:10 -07:00
webchick 0451a6d700 Issue #2083811 by yched, plach: Remove langcode nesting for fields in entity structures. 2013-09-12 22:35:51 -07:00
webchick d009cac09c Issue #2074037 by Wim Leers, effulgentsia: Add drupalPostUrl() — drupalPost()/drupalPostAjax() are for forms only, D8 JS performs non-form HTTP requests. 2013-09-11 12:41:33 -07:00
Alex Pott 678df35b2b Issue #2061331 by yched, plopesc: Added helper methods getEntity() in FieldInterface / FieldItemInterface. 2013-09-11 00:20:54 +02:00
Nathaniel Catchpole c7994001cc Issue #1497374 by yched, chx, amateescu, plach, Damien Tournoud, fago, swentel: Switch from Field-based storage to Entity-based storage. 2013-09-01 07:20:49 +01:00
Alex Pott 52771351f9 Issue #1758622 by klausi, fago, das-peter, Pancho, Berdir, yched: Provide the options list of an entity field. 2013-08-27 14:10:25 +01:00
webchick 523fb85533 Issue #1847002 by tim.plunkett, effulgentsia, msonnabaum: Move entity type classes from Drupal$provider\Plugin\Core\Entity to Drupal$provider\Entity. 2013-08-18 14:16:19 -07:00
Nathaniel Catchpole 1c1774112c Issue #2047993 by plopesc: Remove current uses of field_info_*_types() / field_info_*_settings(). 2013-08-01 14:35:00 +01:00
Alex Pott 11495979d0 Issue #2041423 by yched: Rely on 'provider' instead of 'module' for Field plugin types. 2013-07-28 23:29:26 +02:00
Alex Pott 4ac8645745 Issue #2049485 by yched: Remove traces of the 'user_register_form()' field setting. 2013-07-26 16:12:36 +02:00
Dries 38bf424dfd Issue #2021817 by effulgentsia, yched: Make widgets / formatters work on EntityNG Field value objects. 2013-07-24 16:38:18 -04:00
Alex Pott ad137531c9 Issue #2041287 by Berdir: Convert ->nid to ->id() and ->isNew(). 2013-07-20 13:21:43 +01:00
Alex Pott 4fc16f8ea1 Issue #2035315 by dawehner: Add a dedicated @FieldWidget annotation. 2013-07-20 01:22:20 +01:00
Alex Pott 4586ea128d Issue #2014821 by amateescu, swentel: Introduce form modes UI and their configuration entity. 2013-06-27 22:24:39 +01:00
Alex Pott 5ff3e98c4b Issue #2013939 by swentel, amateescu, pcambra: Remove hook_field_CRUD_() in favor of hook_entity_TYPE_CRUD() calls. 2013-06-25 23:02:08 +01:00
Alex Pott a2c2367bf8 Issue #1969728 by yched, effulgentsia, swentel, fago, plach: Implement Field API 'field types' as TypedData Plugins. 2013-06-25 11:27:47 +01:00
Alex Pott a4bfb01aa9 Issue #1981334 by pcambra, aspilicious, swentel, andypost: Drop procedural usage of fields in [n-r] modules. 2013-06-18 14:32:58 +02:00
Alex Pott c4b665859a Issue #1982980 by ParisLiakos, larowlan, dawehner, tim.plunkett: Move entity_get_form() to Drupal\Core\Entity\EntityManager::getForm(). 2013-06-18 07:21:35 +02:00
Alex Pott 30f6062a18 Issue #2018731 by swentel: Move field_has_data() to Field::hasData(). 2013-06-17 02:22:30 +02:00
Alex Pott d9f7b3a35b Issue #1950632 by effulgentsia, Wim Leers, amateescu, yched: Create a FieldDefinitionInterface, decoupled from and config entities, and use it for formatters and widgets. 2013-06-16 10:27:11 +02:00
Alex Pott 22a09e4daf Issue #2013891 by swentel: Remove widget config schema from text, options and field modules. 2013-06-14 23:31:17 +02:00
Alex Pott 984940b8f2 Issue #1985344 by tim.plunkett, swentel: Add a dedicated @FieldFormatter annotation. 2013-06-14 01:03:32 +02:00
Alex Pott bf2c404e68 Issue #2004224 by Berdir, andypost: Convert tests using TestEntity to EntityTest (except Field API tests). 2013-06-10 13:37:27 +01:00
Nathaniel Catchpole affc74ccdd Issue #1999322 by elvis2, alexander.ilivanov | Berdir: Remove node_save() and node_delete()/node_delete_multiple() in favor of $node->save()/$node->delete(). 2013-06-03 11:00:40 +01:00
Alex Pott f2d710c607 Issue #1620010 by dawehner, ParisLiakos, plach, jibran: Move LANGUAGE constants to the Language class. 2013-05-25 13:12:45 -07:00
Alex Pott 518c4d10bd Issue #1875992 by amateescu, swentel, yched: Add EntityFormDisplay objects for entity forms. 2013-05-19 13:02:16 -07:00
Alex Pott 1ac72a9de3 Issue #1980632 by dawehner, yched: Fixed Viewing a node with a List field results in fatal error. 2013-05-12 20:22:44 +01:00
Alex Pott 88572e46ff Issue #1988614 by aroq: Adjust hook_options_list_alter() example in options.api.php to use ->id() instead of ->id. 2013-05-12 18:52:29 +01:00
Alex Pott 608fa1d54d Issue #1985386 by yched, Gábor Hojtsy: Crufty 'allowed_values_function_display()' ends up in list field stored config. 2013-05-08 00:12:57 +01:00
Alex Pott 79ea2f38f8 Issue #1292284 by ParisLiakos, RobLoach, karschsp: Require 'type' key in .info.yml files. 2013-05-07 14:51:26 +01:00
Nathaniel Catchpole be3667b3ef Issue #1898434 by gnuget, joelpittet, webthingee, -enzo-, Cottser: Remove theme_options_none(), use an alter hook instead for changing empty option label. 2013-05-05 22:32:01 +01:00
Alex Pott a82a5efe22 Issue #1981198 by yched: Change notice: More accurate names and form_ids() for Field UI form classes. 2013-05-04 01:01:03 +01:00
webchick 567203a0eb Issue #1973448 by vijaycs85: Provide config schema to field types, widgets and storage in options module. 2013-05-02 00:49:16 -07:00
Alex Pott 6ed57d39c5 Issue #1946404 by tim.plunkett, amateescu, swentel: Convert forms in field_ui().admin.inc to the new form interface. 2013-04-27 00:28:10 +01:00
webchick 53d8c24d94 Issue #1818560 by Berdir, fago, Wim Leers, jessebeach, dawehner, YesCT: Convert taxonomy entities to the new Entity Field API. 2013-04-26 09:10:49 -07:00
Alex Pott 6fa5b693be Issue #1751234 by yched, amateescu, swentel, kotnik, webflo, pcambra | tstoeckler: Convert option widgets to Plugin system. 2013-04-18 08:02:19 +01:00
Alex Pott e9aa9c4ac4 Issue #1787238 by aspilicious, swentel, yched | pcambra: Convert options module formatters to Plugin system. 2013-04-14 12:30:20 +01:00
Alex Pott a820153fa5 Issue #1735118 by swentel, yched, xjm, larowlan, alexpott, tim.plunkett: Convert Field API to CMI. 2013-04-13 18:06:40 +01:00
Alex Pott bea3588b22 Issue #1957148 by damiankloip | Berdir: Replace entity_query() with Drupal::entityQuery(). 2013-04-11 13:55:05 +01:00
webchick 37afef0004 Issue #1818556 by das-peter, plach, fago, Berdir, vijaycs85: Change notice: Convert nodes to the new Entity Field API. 2013-03-10 12:05:24 -07:00
webchick 282f6b90ba Issue #1932382 by Berdir, swentel: Use DrupalUnitTestBase for Field API tests. 2013-03-09 22:49:53 -08:00
Dries 6bf13bd87b Issue #1793074 by cweagans, sun, chx: Convert .info files to YAML. 2013-03-06 17:51:39 -05:00
webchick 2e0ecd55b3 Issue #1839064 by Berdir: Implement the new entity field API for the list field type. 2013-02-18 16:30:18 -08:00
Dries fb08e2f281 Issue #1801304 by Amitaibu, amateescu, effulgentsia, tim.plunkett, EclipseGc, Fabianx, Cottser: Added Entity reference field. 2013-02-01 11:08:58 -05:00
Dries 9b7bdba101 Issue #1838114 by ry5n, swentel, sun: change node form’s vertical tabs into details elements. 2013-01-17 17:04:11 -05:00
catch bbcf047060 Issue #611294 by swentel, tsphethean: Refine permissions for Field UI. 2013-01-17 21:37:31 +00:00
catch 5ff1cee383 Issue #1029060 by plopesc, Kars-T: Should allowed options for list fields trim() the strings?. 2013-01-17 21:25:57 +00:00
catch 6e5d1a09ca Issue #1874300 by Berdir, swentel: Remove $entity_type argument from field.module functions that receive a single $entity. 2013-01-07 11:22:28 +00:00
catch 2288314826 Issue #1852966 by yched, Stalski, zuuperman, swentel: Rework entity display settings around EntityDisplay config entity. 2012-12-28 23:03:17 +00:00
catch 53de739800 Revert "Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity."
This reverts commit 8ad67af2e0.
2012-12-28 23:02:37 +00:00
catch 8ad67af2e0 Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity. 2012-12-28 19:05:41 +00:00
Dries f55649698c Issue #1705920 by tim.plunkett, sun, underq, javier.alejandr...: Convert all calls to procedural drupal_array_()*() functions to Drupal\Component\Utility\NestedArray. 2012-12-17 16:54:13 -05:00
catch 20c3db0133 Issue #1862656 by sun: Move field type modules out of Field API module. 2012-12-13 12:21:22 +00:00