Commit Graph

781 Commits (949cb6313b3fefb17dc223de62c3f9f66105c985)

Author SHA1 Message Date
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
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
Jennifer Hodgdon 559115bf0d Issue #2287889 by larowlan: Add information to field topics needed by plugin developers 2014-06-20 08:33:13 -07: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
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
Jennifer Hodgdon a735308ce5 Issue #2260043 by t0xicCode, amitgoyal: Remove lingering references to obsolete field crud and attach topics and functions 2014-06-13 14:50:50 -07: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
Alex Pott e0b25fcb4b Issue #2211723 followup by yched, Berdir: FieldInstance::__construct() loads all field_config entities. 2014-06-11 09:00:22 +01: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
webchick d0107d496b Issue #950534 by mparker17, mgifford, Mixologic, jbloomfield, erinclerico, theMusician, wmostrey | zirvap: [policy] Consistently use email instead of e-mail in Drupal. 2014-06-09 14:47:53 -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
Alex Pott c63692f769 Issue #2209049 by tstoeckler, lokapujya: Allow field schemas to contain unique keys. 2014-06-08 21:11:06 -05:00
Alex Pott 00ec50f0a8 Issue #2278501 by yched: Remove deprecated format_string() in FieldConfig. 2014-06-08 19:16:14 -05:00
Alex Pott 2f1e909a45 Issue #2211723 by yched, Berdir: FieldInstance::__construct() loads all field_config entities. 2014-06-07 12:05:03 -05:00
Alex Pott 6d2ce628bc Revert "Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel."
This reverts commit cda051c425.
2014-06-05 12:53:24 -05:00
Nathaniel Catchpole cda051c425 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-05 11:30:04 +01:00
Nathaniel Catchpole 3bbaaa9b39 Issue #2116341 by fago, tim.plunkett: Apply defaults to definition objects. 2014-06-05 11:27:09 +01:00
Alex Pott 54c28347f3 Issue #2279339 by chx: Fixed NumberFieldTest is slightly and subtly broken . 2014-06-03 17:47:02 -05:00
Jennifer Hodgdon 4abcd06071 Issue #2091319 by amitgoyal, mparker17, cyberdog: Update hook_help for Field module 2014-06-02 10:22:23 -07:00
Alex Pott 1ab2651755 Issue #2183231 by tstoeckler, plach, jessebeach, fago, Berdir, xjm, mauzeh: Make ContentEntityDatabaseStorage generate static database schemas for content entities. 2014-06-01 15:53:43 -05:00
Alex Pott 7a98471c44 Issue #2273631 by vijaycs85: Unify config entity schemas with a base schema type. 2014-05-31 06:55:13 -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 cfbbef3c62 Issue #2260035 by blueminds | jhodgdon: Hook_field_info_max_weight in field.api.php is not in a group/topic. 2014-05-12 22:55:52 -07:00
Alex Pott 8494b0632a Issue #2262195 by sun: Various test classes are missing phpDoc. 2014-05-12 14:31:16 -05:00
Nathaniel Catchpole 7bc792063e Issue #2263273 by alexpott: Config_snapshot table can be created by the storage class itself. 2014-05-12 10:58:09 +01: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
Nathaniel Catchpole bd248aa5a9 Issue #2252967 by sun: RebuildContainer() is not limited to web tests (WebTestBase). 2014-04-30 11:02:21 +01:00
webchick 5e4b8a1111 Issue #2198429 by alexpott: Make deleted fields work with config synch. 2014-04-22 12:50:19 -07:00
Alex Pott 5cc27d94cc Issue #2216071 by dawehner, damiankloip, Gaelan: Views plugins need a way to store additional dependencies. 2014-04-20 20:15:42 +01:00
webchick d34434d813 Issue #2244885 by alexpott: Add method to count number of entities with a particular field. 2014-04-19 14:55:06 -07:00
Alex Pott 1e15efd7d2 Issue #2202629 by sun: Move Drupal\Core\KeyValueStore\State* into Drupal\Core\State\State*. 2014-04-18 11:53:27 +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 a62511ffbd Issue #2241655 by tim.plunkett: EntityStorageInterface::create() should always create a "new" entity. 2014-04-16 21:57:51 +01: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 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
webchick 0b4bf3af72 Issue #2124535 by Berdir, alexpott, Désiré, xjm | yched: Prevent secondary configuration creates and deletes from breaking the ConfigImporter. 2014-04-11 11:38:28 -04:00
Alex Pott b1eb0a2931 Issue #2228291 by damiankloip: Move all plugin and other discovery data into a cache_discovery bin. 2014-04-11 10:40:11 -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 fc6b814e02 Issue #2170775 by tim.plunkett, martin107, Xano: Remove array typehint from . 2014-04-08 13:56:43 -07: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
webchick b504423ed0 Issue #2165725 by Xano: Introduce hook_entity_operation(). 2014-04-07 11:12:13 -07:00
webchick 86ae96e4fd Issue #2089433 by ianthomas_uk, grom358, herom, thedavidmeister, visabhishek, longwave, Sweetchuck: Remove uses of deprecated XSS filter functions. 2014-04-07 08:01:20 -07:00
Nathaniel Catchpole ae702dc56d Issue #1808248 by alexpott, beejeebus, tayzlor, Nitesh Sethia: Add a separate module install/uninstall step to the config import process. 2014-04-04 14:49:13 +01:00
Nathaniel Catchpole ef2563979a Issue #2211949 by chx, Berdir, fago, benjy: Support keeping new revision id for migrate. 2014-04-03 12:10:25 +01:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00
webchick be83ed2bbc Issue #2166915 by ianthomas_uk, sun | plach: Remove uses of deprecated language functions in tests and procedural code. 2014-03-31 10:29:01 -07:00
Nathaniel Catchpole 3a5e997452 Issue #2221065 by damiankloip, Wim Leers, Berdir: Rename default 'cache' cache bin to 'default'. 2014-03-31 10:49:28 +01:00
catch 979bb625ce Issue #2226027 by tim.plunkett: ConfigEntityBase::preSave() tries to load the original entity but instead loads itself. 2014-03-30 15:02:28 +02:00
webchick 5c7c259d3f Issue #2226233 by ckrina, alexrayu, Manuel Garcia, Cottser: Redo changes from field.module to Twig conversion issue that were clobbered. 2014-03-28 13:41:42 -07:00
webchick 684f0cb4d4 Issue #2224833 by tim.plunkett: Remove redundant ID manipulation in ConfigEntityStorage::save(). 2014-03-28 13:33:42 -07: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 c40d1173ae Issue #2201693 followup by plopesc, Sweetchuck, rodrigoaguilera: Field output supporting code should move out of field.module. 2014-03-26 23:25:08 +01:00
catch 24526aedd0 Revert "Issue #2165725 by Xano: Introduce hook_entity_operation()."
This reverts commit 2cf87103b5.
2014-03-26 19:53:12 +01:00
catch c15c6c188a Issue #2143069 by plach, fago: Add getProvider() and hasCustomStorage to FieldDefinitionInterface. 2014-03-26 15:51:07 +01:00
catch 682a214aa5 Issue #2224873 by alexpott: Handle a config entity with the same name but different UUID being imported. 2014-03-26 15:26:11 +01:00
catch bb0f5fced3 Issue #1194136 by Berdir, damiankloip, Wim Leers: Re-organise core cache bins. 2014-03-26 14:19:28 +01:00
catch 2cf87103b5 Issue #2165725 by Xano: Introduce hook_entity_operation(). 2014-03-26 12:46:04 +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 53852c25df Issue #2211235 by damiankloip: Add specific annotations for Views handlers. 2014-03-25 20:16:43 +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
webchick 4a1ff2d485 Issue #2144631 by fago: Add a revisionable key to field definitions. 2014-03-25 09:26:15 -07:00
catch 34907c36cc Issue #2224209 by alexpott: Field instance configuration should depend on its bundle. 2014-03-25 13:38:24 +00:00
Alex Pott 13242b5af6 Issue #2201693 by plopesc, e0ipso, swentel: Field output supporting code should move out of field.module. 2014-03-25 12:19:33 +01:00
Alex Pott 02f761ba1d Issue #2154711 by plopesc, tim.plunkett, olli, Berdir, Dave Reid: Move entity_get_(form/view)_mode_options() functions to EntityManager and add get(Form/View)ModeOptions() methods. 2014-03-25 10:43:08 +01:00
webchick bead76ad5b Issue #1987398 by Nigel_S, Tim Bozeman, InternetDevels, adsw12, joelpittet, Cottser, mdrummond, dsayswhat, jerdavis, rteijeiro, LewisNyman, Rumato, gnuget: Field.module - Convert theme_ functions to Twig. 2014-03-24 11:15:19 -07:00
webchick b907c2f3ae Issue #2191709 by andypost, Berdir: Remove the configurable flag on field types. 2014-03-24 09:13:25 -07: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 23902766ac Issue #2219925 by tim.plunkett: Rename ConfigEntityInterface::getExportProperties() to toArray(). 2014-03-20 19:31:32 -07: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
Nathaniel Catchpole e1533e2a73 Issue #2155635 by Berdir, tim.plunkett, dawehner: Allow plugin managers to opt in to cache clear during module install. 2014-03-17 11:53:05 +00: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
Nathaniel Catchpole bd732ee75e Issue #2188565 by Wim Leers, Berdir: Test coverage for Comment, Custom Block, Node, Taxonomy Term and User entity cache tags. 2014-03-14 13:06:46 +00:00
webchick 03a4497fac Issue #1862300 by tim.plunkett, dawehner, YesCT: Move ConfigStorageController::getQuery() to EntityStorageControllerInterface. 2014-03-12 17:13:13 -07:00
Alex Pott 28d0b8efa5 Issue #2210197 by sun, longwave, Sutharsan: Remove public access to Extension::$type, ::$name, ::$filename. 2014-03-11 17:19:24 +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
Nathaniel Catchpole 6dc4d08c1f Issue #2208165 by longwave, damiankloip: Replace usage of views deprecated functions in views. 2014-03-10 13:11:58 +00:00
Alex Pott 0f35ae9f75 Issue #2004336 by damiankloip: Default UUID key in ConfigEntityType. 2014-03-08 10:58:15 +00:00