Commit Graph

227 Commits (99d219aa0e93044290fd88a003e962bafd0a0bca)

Author SHA1 Message Date
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
Nathaniel Catchpole 579aa78880 Issue #1947720 by damiankloip: Use Drupal::state() to replace state(). 2013-06-05 15:58:21 +01: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 30e1599a3c Issue #1854868 by swentel: Let formatter summaries return arrays instead of strings. 2013-05-17 12:32:40 -07:00
Alex Pott 6fa50c64eb Issue #1043198 by tim.plunkett, tstoeckler, swentel, larowlan: Convert view modes to ConfigEntity. 2013-05-16 08:29:16 +01:00
Alex Pott 9a53a21bed Issue #1823306 by webflo, mkalkbrenner, zuuperman, swentel: Fixed Missing langcode in in hook_field_attach_view_alter(). 2013-05-09 21:43:04 +01:00
Nathaniel Catchpole ca665f7be3 Issue #1827448 by RobLoach, sun, jbrown, tstoeckler: Use __DIR__ instead of DRUPAL_ROOT where possible/sensible. 2013-05-09 10:25:10 +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
webchick dfd616367e Issue #1851880 by Alan Evans, yched: Ensure that formatters for fields with no values are still run. 2013-05-01 22:05:18 -07:00
Alex Pott 620d497915 Issue #1913618 by tim.plunkett, amateescu: Convert EntityFormControllerInterface to extend FormInterface. 2013-04-30 00:46:14 +01:00
webchick 6daf6f637d Issue #1953404 by vijaycs85, yched, Gábor Hojtsy: Add config schema to field and instance config entities. 2013-04-23 00:54:10 -07:00
Alex Pott bc3a902fbc Issue #1807042 by tim.plunkett, effulgentsia: Rename entity storage/list/form/render controllers to handlers, part 1: organize existing annotation keys. 2013-04-23 08:38:30 +01:00
webchick 2f303cc898 Issue #1416506 by Damien Tournoud, swentel, yched: Fixed Field schema foreign keys support is broken. 2013-04-21 12:34:18 -07:00
Alex Pott 0cc0335638 Issue #1970206 by andypost, swentel: Move fields and instances to standard profile config. 2013-04-18 08:08:18 +01:00
webchick b77715c307 Issue #1967294 by tim.plunkett: Add a dedicated @EntityType annotation. 2013-04-13 15:15:20 -07: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
webchick d5847d3f94 Issue #1374116 by amateescu, swentel, Berdir, yched: Move bundle CRUD API out of Field API. 2013-04-05 09:53:22 -07:00
webchick 7e465a9b17 Issue #1888390 by dawehner, damiankloip, tim.plunkett: Change 'human_name()' to 'label' and replace View::getHumanName() with View::label(). 2013-04-03 12:57:49 -07:00
webchick 02f199f62b Issue #1400256 by mahaprasad, David_Rothstein, amcgowanca: Tests for field info cache. 2013-03-26 22:08:29 -07:00
webchick 1bec76308f Issue #1446382 by plach: Need a reliable way to determine if a specific bundle for an entity type is translatable. 2013-03-18 05:40:12 -07:00
Dries 6bf13bd87b Issue #1793074 by cweagans, sun, chx: Convert .info files to YAML. 2013-03-06 17:51:39 -05:00
catch 13bd2b25ec Issue #1849752 by effulgentsia, Berdir, jibran, neclimdul: Abstract non-Drupal-specific parts of AnnotatedClassDiscovery into a Drupal\Component base class. 2013-03-06 22:02:58 +00:00