interface DynamicallyFieldableEntityStorageInterface

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface
  2. 10 core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface
  3. 11.x core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface

A storage that supports entity types with dynamic field definitions.

A storage that implements this interface can react to the entity type's field definitions changing, due to modules being installed or uninstalled, or via field UI, or via code changes to the entity class.

For example, configurable fields defined and exposed by field.module.

Hierarchy

Expanded class hierarchy of DynamicallyFieldableEntityStorageInterface

All classes that implement DynamicallyFieldableEntityStorageInterface

3 files declare their use of DynamicallyFieldableEntityStorageInterface
entity.api.php in core/lib/Drupal/Core/Entity/entity.api.php
Hooks and documentation related to entities.
field.module in core/modules/field/field.module
Attach custom data fields to Drupal entities.
FieldDefinitionListenerTest.php in core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php

File

core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php, line 17

Namespace

Drupal\Core\Entity
View source
interface DynamicallyFieldableEntityStorageInterface extends FieldableEntityStorageInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.