Commit Graph

248 Commits (7918441b485756154eaa61898ecd3b9e12e9934d)

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
Alex Pott 5f4bbab95c Issue #2313823 by tim.plunkett, martin107: Use FormStateInterface for all typehints. 2014-08-04 12:21:15 +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 a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +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 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
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
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
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 e0b25fcb4b Issue #2211723 followup by yched, Berdir: FieldInstance::__construct() loads all field_config entities. 2014-06-11 09:00:22 +01:00
Alex Pott 2f1e909a45 Issue #2211723 by yched, Berdir: FieldInstance::__construct() loads all field_config entities. 2014-06-07 12:05:03 -05:00
Nathaniel Catchpole 03117bc360 Issue #2274517 by Wim Leers: Remove \Drupal\Core\Field\PrepareCacheInterface. 2014-05-30 12:50:32 +01: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
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
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 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
Alex Pott acbd5fa840 Issue #2226197 by fago, jessebeach: Introduce FieldStorageDefinitionInterface in the Entity Field API. 2014-04-13 13:36:33 -04:00
Nathaniel Catchpole 94bdf61be3 Issue #2232597 by alexpott: FieldConfig does not depend on the module the provides the entity type. 2014-04-08 11:31:29 +01:00
Alex Pott fee6ae0e0f Issue #2225629 by Xano: Move hook_field_extra_fields() to the entity API. 2014-03-28 11:30:44 +01:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01: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
catch 83b797dfce Issue #2095195 by yched, fago, Berdir, amateescu, swentel, pfrenssen, Xano: Remove deprecated field_attach_form_*(). 2014-03-25 19:26:29 +01:00
catch 34907c36cc Issue #2224209 by alexpott: Field instance configuration should depend on its bundle. 2014-03-25 13:38:24 +00:00
Nathaniel Catchpole 8cbab1493b Issue #2080823 by alexpott, swentel, Wim Leers: Create API to discover content or config entities' soft dependencies and use this to present a confirm form on module uninstall. 2014-03-21 11:53:32 +00:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
Alex Pott eba0b71872 Revert "Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files."
This reverts commit b4c561d0d5.
2014-03-17 13:02:04 +00:00
Nathaniel Catchpole b4c561d0d5 Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files. 2014-03-17 11:57:35 +00: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 0990c7eee9 Issue #1982776 by netsensei, Dave Reid, plopesc: Formatters do not support weights like widgets do. 2014-03-07 13:59:19 -08: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 02417da643 Issue #1892182 by sun, nod_, jibran: #type details: Rename #collapsed to #open. 2014-02-26 10:38:09 -08:00
Nathaniel Catchpole b9a978d202 Issue #2177041 by dawehner, Berdir, jibran: Remove all implementations of hook_menu. 2014-02-26 10:53:29 +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
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 c210e8681c Issue #1981858 by Berdir, tim.plunkett, longwave, Les Lim: Rename hook_entity_info/alter() to hook_entity_type_build/alter(). 2014-02-20 10:04:54 +00: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 4bbef0e0c4 Issue #2152825 by plopesc, swentel, Berdir: Rename FieldItemBase::getFieldSetting[s]() to getSetting[s](). 2014-02-13 11:45:57 +00:00
Nathaniel Catchpole 7dcaa39580 Issue #2167267 by yched, andypost: Remove deprecated field_attach_*_view(). 2014-02-12 10:42:13 +00:00
Nathaniel Catchpole c3b2182676 Issue #2185689 by yched: Remove stale entries in field / field instance schemas. 2014-02-11 11:41:29 +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
Alex Pott bbed679fbf Issue #2144327 by amateescu, effulgentsia, yched, dasjo: Make all field types provide a schema(). 2014-01-08 15:45:21 +00:00
Alex Pott 814aed203d Issue #2005716 by tim.plunkett, msonnabaum, dawehner, alexpott, effulgentsia: Promote EntityType to a domain object. 2014-01-01 11:08:57 +01:00
webchick bb4359a428 Issue #2067079 by yched, andypost: Remove the Field Language API. 2013-12-27 22:42:52 -08:00
webchick 12f895ec39 Issue #2132145 by plopesc, amateescu, Xano: Rename 'typed_data' / Drupal::typedData() to 'typed_data_manager' / Drupal::typedDataManager. 2013-12-26 14:22:40 -08:00
webchick 9c7b92caee Issue #2080625 by areke, mrsinguyen: Remove unused local variables for the field module. 2013-12-22 11:40:14 -08:00
webchick 3465947578 Issue #2146517 by TR: Remove annotation 'use' statements from all core classes. 2013-12-19 10:28:42 -08:00
Nathaniel Catchpole 21b80ceff0 Issue #2143519 by yched, Wim Leers: Allow FieldInstance yml files to refer to the Field by field name rather than by field_uuid. 2013-12-10 17:28:51 +00:00
Nathaniel Catchpole 471362427b Revert "Issue #2143519 by yched: Allow FieldInstance yml files to refer to the Field by field name rather than by field_uuid."
This reverts commit f2e66e87c7.
2013-12-10 14:30:40 +00:00
Nathaniel Catchpole f2e66e87c7 Issue #2143519 by yched: Allow FieldInstance yml files to refer to the Field by field name rather than by field_uuid. 2013-12-10 13:48:36 +00:00
Alex Pott cdac25ee08 Issue #2143263 by plopesc | yched: Remove "Field" prefix from FieldDefinitionInterface methods. 2013-12-09 19:19:58 -04:00
Alex Pott bf3ac2f4c2 Issue #2029857 by swentel, andrewmacpherson, plopesc: Field plugin settings edit button doesn't show unless there is a settings summary . 2013-12-07 13:55:08 -04:00
Nathaniel Catchpole e8c263c4a5 Issue #2112239 by amateescu: Convert base field and property definitions. 2013-12-06 10:56:29 +00:00
Nathaniel Catchpole 160e691c08 Issue #1503314 by swentel, amateescu, bojanz: Remove the concept of active / inactive (field types, storage) from Field API. 2013-12-03 13:34:33 +00:00
Nathaniel Catchpole c543ca71ff Issue #2019055 by plach, fago, berdir, yched, Gábor Hojtsy, kfritsche, jibran: Switch from field-level language fallback to entity-level language fallback. 2013-11-06 14:44:42 +00:00
Nathaniel Catchpole 38fdf67298 Revert "Issue #2019055 by plach, fago, kfritsche: Switch from field-level language fallback to entity-level language fallback."
This reverts commit 46942cd373.
2013-11-06 14:44:17 +00:00
Nathaniel Catchpole 46942cd373 Issue #2019055 by plach, fago, kfritsche: Switch from field-level language fallback to entity-level language fallback. 2013-11-06 14:39:07 +00: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
webchick 73f2d97f22 Issue #2106501 by swentel, Ivan Zugec | andypost: Remove unused hook_install() from field_test() module. 2013-10-14 22:10:33 -07:00
Alex Pott 069902e3df Issue #2029857 by swentel, andrewmacpherson: Fixed Field plugin settings edit button doesn't show unless there is a settings summary. 2013-10-14 00:54:32 +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
Nathaniel Catchpole 9d5d866f06 Issue #2083803 by andypost, Berdir: Convert field type to typed data plugin for field_test() module. 2013-10-09 11:35:13 +01:00
webchick e81c0f1285 Issue #2102653 by tim.plunkett, disasm: Convert test form callbacks to new form controller. 2013-10-05 16:16:50 -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
Alex Pott 3cee107ce5 Issue #2100329 by cosmicdreams: Use \Drupal instead of Drupal to make IDEs and static code analyse tools happy. 2013-10-03 12:26:25 +01:00
Alex Pott 691a576259 Issue #1994140 by Berdir, yched, fgm, smiletrl: Unify entity field access and Field API access. 2013-09-30 15:14:06 +02: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 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 9bb5d68aef Issue #2083835 by yched: Fixed theme('field') displays no value on empty fields even if the formatter returned an output. 2013-09-11 13:29:55 -07:00
webchick 91d8b13c6f Issue #2079025 by yched, Berdir: Remove dead code (e.g. field_test().storage.inc) due to entity storage refactoring. 2013-09-02 13:26:08 -07:00
webchick b028d3174d Revert "git commit -m Issue"
This reverts commit a234a4fa3b.

Bad commit message. :P
2013-09-02 13:25:38 -07:00
webchick a234a4fa3b git commit -m Issue 2013-09-02 13:25:15 -07: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
webchick 9def98f6a7 Issue #2061987 by InternetDevels: Replace user_access() calls with ->hasPermission() in field module. 2013-08-29 08:30:05 -07:00
webchick cb599de3be Issue #2056405 by plopesc, yched: Let field types provide their support for 'default values' and associated input UI. 2013-08-28 14:56:08 -07: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
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 4fc16f8ea1 Issue #2035315 by dawehner: Add a dedicated @FieldWidget annotation. 2013-07-20 01:22:20 +01:00
Alex Pott a4c65bec40 Issue #1825896 by dawehner, damiankloip, heddn: Add module owner to plugin data on handlers. 2013-07-05 21:54:59 +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 d0d1817738 Issue #1822000 by Berdir, plach, amateescu, yched: Remove Drupal\field_test\Plugin\Entity\Type\TestEntity in favor of EntityTest. 2013-06-26 16:38:18 +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
Dries 55651cf3a4 Issue #1981314 by pcambra, aspilicious, andypost, swentel: Drop procedural usage of fields in field module. 2013-06-21 15:23:16 -04: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 bd6ad51a89 Issue #2008558 by effulgentsia: Move nonalterations from hook_entity_bundle_info_alter() implementations to hook_entity_bundle_info() implementations. 2013-06-17 01:41:55 +02:00
Alex Pott 1648a479c4 Issue #1893772 by chx, fubhy, slashrsm: Move entity-type specific storage logic into entity classes. 2013-06-16 11:40:11 +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 984940b8f2 Issue #1985344 by tim.plunkett, swentel: Add a dedicated @FieldFormatter annotation. 2013-06-14 01:03:32 +02:00
Alex Pott 939a8a8de5 Issue #1960574 by swentel, smiletrl: Add more tests for Field config import. 2013-06-13 23:36:54 +01:00