Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295045

[meta] Complete Entity Field API

$
0
0

Not Completed

Entity Manager and related topics
#2144677: Add per entity type managers to improve DX
#1867228: Make EntityManager provide an entity factory (API Addition)
#1233394: [Policy, no patch] Agree on a property naming pattern
#1976158: [meta] Rename entity storage/list/form/render "controllers" (Approved API Change)
#2015535: Improve instantiation of entity classes and entity controllers
Documentation
#1729812: Separate storage operations from reactions
Content Entities conversions
#2256521: [META] New plan, Phase 2: Implement menu links as plugins, including static admin links and views, and custom links with menu_link_content entity, all managed via menu_ui module
Core / module
#2031717: Remove entity.module - once again. (API Change)
#2079427: [META] Core/Entity depends on classes / functions from field.module - Same issue (?)
Entity fields
#2084829: The FieldDefinition should be injected in the Field / FieldItem objects
#2023473: Merge FieldItem::insert() and FieldItem::update() on fields into preSave()
#2143297: setters on FieldDefinitionInterface
#2150511: [meta] Deduplicate the set of available field types
#2224761: Add support for cross-field-type, extensible, extra configuration
#2283977: Create a new ConfigEntity type for storing bundle-specific customizations of base fields
Widgets / formatters rendering
#2023571: Support preprocessing in EntityViewBuilder
#2010930: [META] Apply formatters and widgets to rendered entity base fields (all besides node.title)Assigned to: Wim Leers
Typed Data / Metadata
#2002138: Use adapters for supporting typed data (Simplify/re-architect typed data?) (Approved API Change)
#2028097: Map data types to interfaces
Access
#777578: Expand the node access API to a general entity access API to improve security (issue about grant system)
#2028027: [META] Missing access control for base fields
#2204363: [sechole] Returning TRUE from hook_entity_access()/hook_ENTITYTYPE_access() must not bypass EntityAccessController::checkAccess()
Caching
#1885830: Enable static caching for config entities
#2099137: Ensure entity access and field access modules can affect entity render cache granularityAssigned to: effulgentsia
Language
#1916790: Convert translation metadata into regular entity fields
#2073217: Remove the $language parameter from the entity view/render system
#2072945: Remove $langcode parameter from EntityAccessControllerInterface::access() and friends
#1824964: Setting entity language to an invalid language should throw exception
#2090983: EntityNG::addTranslation() is slow and unnecessarly called (?)
Storage
#2068325: [META] Convert entity SQL queries to the Entity Query API
#1498720: Make the entity storage system handle changes in the entity and field schema definitionsAssigned to: plach
#2079019: Make Views use SqlEntityStorageInterface
#2100343: Rename 'fieldable' key in entity definitions
#2137801: Refactor entity storage to load field values before instantiating entity objects
#1740492: Implement an entity views data controllerAssigned to: dawehner
#2068655: Entity fields do not support case sensitive queries
Form Controllers
#1728816: Ensure multiple entity forms can be embedded into one form (also #766146: Support multiple forms with same $form_id on the same page)
#2006248: Add an EmbeddableFormInterface so that FormInterface can delegate to multiple objects (possible solution for above problem)
#1728818: Clarify $operation and the relationship to form modes (as a counterpart of view modes)
#2091871: Add an ConfigEntityFormController with an exists() method
#2022875: Resolve difference between submitForm(), submit(), and save() in EntityFormController
Validation
#2002180: Entity forms skip validation of fields without widgets
#2023465: Allow validation constraints to add in message replacements
#2012776: [META] Improve validation constraint test coverage
#2012690: 'type' constraints generate crappy error messages.
REST
#1979260: Automatically populate the author default value with the current user
#2259445: [Meta] Entity Resource unification
Nice things
#2004672: Add a default value for filter format item properties
Known bugs
#2031183: Problems editing nodes if datetime.module is not enabled

Completed

Existing meta issues that this replaced
#1346204: [meta] Drupal 8 Entity API improvements
#1346214: [meta] Unified Entity Field API
Entity Manager and related topics
#2095587: #HardProblems DX conclusion: Remove IdentifiableInterface
#1879200: Remove uneeded $entity_type argument from entity type callbacks
#2005716: Promote EntityType to a domain object
#2168333: Ensure custom EntityType controllers can be provided by modules
#2165155: Change $entity_type to $entity_type_id and $entity_info to $entity_type/$entity_types
#2164827: Rename the entityInfo() and entityType() methods on EntityInterface and EntityStorageControllerInterface
#2191655: Type hint $entity_type everywhere it is an instance of EntityTypeInterface.
#2078387: Add an EntityOwnerInterface
#1981858: Rename hook_entity_info/alter() to hook_entity_type_build/alter()
#2191651: Rename Drupal\Core\Entity\Query\QueryInterface::getEntityType() to getEntityTypeId()
#2119905: Provide @ConfigEntityType and @ContentEntityType to have better defaults
#2154711: Move entity_get_(form/view)_mode_options() functions to EntityManager and add get(Form/View)ModeOptions() methods
#2182239: Improve ContentEntityBase::id() for better DX
#2190313: Add $EntityType::load() and loadMultiple() to simplify loading entities
#2096899: Add $EntityType::create() to simplify creating new entities
#2039435: Convert EntityManager to extend DefaultPluginManager
Documentation
#2216553: Fill in @defgroup/topic docs for Typed Data
#2216533: Fill in topic/@defgroup docs for Entity API overview
#2216535: Replace Node overview topic and Node API topic with Entity Hooks topic
Config / Content Entities
#2004244: Move entity revision, content translation, validation and field methods to ContentEntityInterface
Core / module
#2050835: Move Widget, Formatter, and FieldType plugin types to the Core\Field system
#2031725: Move all entity display interfaces to the core component
Entity fields
#2051923: Rename \Drupal\Core\Entity\Field\Field, related subclasses and interfaces to *FieldItemList
#2023563: Convert entity field types to the field_type plugin
#2014671: [META] Convert all field types to plugins
#1819472: Consider renaming the "*_field" data type to "*_item" and DX around the reference fields
#1988612: Apply formatters and widgets to rendered entity base fields, starting with node.title
#2052135: Determine how to deal with field types used in base fields in core entities
#2047229: Make use of classes for entity field and data definitions
#2143263: Remove "Field" prefix from FieldDefinitionInterface methods
#1798140: Agree upon terminology for configurable fields
#2042773: Change #items within a theme_field() render array from an *array* to the same $items *object* used throughout the rest of the formatter pipeline
#2095303: Rename 'field_entity' to 'field_config' and 'field_instance' to 'field_instance_config'
#2152825: rename FieldItemBase::getFieldSetting[s]() to getSetting[s]()
#2156337: merge ConfigEntityReferenceItemBase up into EntityReferenceItem, and fix inconsistencies
#2114707: Allow per-bundle overrides of field definitions
#2027059: Pass validation violation property paths on to widgets
#2192259: Remove ConfigField.. Item and List classes + interfaces
#2095919: Kill ContentEntityBase::init()
#2191709: Remove the "configurable" flag on field types
#2116363: Unified repository of field definitions (cache + API)
#2167167: Remove field_info_*()
#2188075: Remove magic getter of EntityReferenceItem
#2143291: Clarify handling of field translatability
#2287727: Rename FieldConfig to FieldStorageConfig
Widgets / formatters rendering
#2157153: Remove field_attach_preprocess()
#2090509: Optimize entity_get_render_display() for the case of "multiple entity view"
#2134887: move field_view_field() / field_view_value() to methods
#2095195: Remove deprecated field_attach_form_*()
#2005434: Let 3rd party modules store extra configuration in EntityDisplay
Typed Data / Metadata
#2002134: Move TypedData metadata introspection from data objects to definition objects
#1928938: Improve typed data definitions of lists
#2132145: Rename 'typed_data' / Drupal::typedData() to 'typed_data_manager' / Drupal::typedDataManager
#2110467: Add first(), get($index) and possibly other methods to ListInterface
#2144631: Add a revisionable key to field definitions
Access
#1947880: Replace node_access() by $entity->access()
#1994140: Unify entity field access and Field API access
#2078473: Use entity access API for checking access to private files
Caching
#2027795: Optimize content entity serialization
#2083785: Add support for determining which field properties are cacheable
#597236: Add entity caching to core
Language
#2019055: Switch from field-level language fallback to entity-level language fallback
#2076445: Make sure language codes for original field values always match entity language regardless of field translatability
#2018685: Remove field_is_translatable()
Storage
#2095399: Merge DatabaseStorageController and DatabaseStorageControllerNG
#2057401: Make the node entity database schema sensible
#2142549: Support multi-column field types in base tables
#2095283: Remove non-storage logic from the storage controllers
#1823494: Field API assumes serial/integer entity IDs, but the entity system does not
#2144327: Make all field types provide a schema()
#2267753: ContentEntityDatabaseStorage::mapToStorageRecord hard-codes $entity->$name->value
#2183231: Make ContentEntityDatabaseStorage generate static database schemas for content entities
#2144263: Decouple entity field storage from configurable fields
Form
#2151775: EntityFormController does things that only make sense for ContentEntities
Validation
#1696648: [META] Untie content entity validation from form validation
#2070429: Configurable fields aren't validated against the "required" constraint except in forms
Operations
#1839516: Introduce entity operation providers
REST
Nice things
#2085071: Auto validate fields on $entity->save(), but allow opt-out
#1980822: Support any entity with path.module
#2145103: Provide non-configurable field types for entity created, changed and timestamp fields
#2201051: Convert path.module form alters to a field widget
Known bugs
#2050201: Unsetting field item properties via FieldItemBase::set() does not always work
#221081: Entity cache out of sync and inconsistent when saving/deleting entities

Viewing all articles
Browse latest Browse all 295045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>