interface DynamicallyFieldableEntityStorageInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface
- 8.9.x core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface
- 10 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
- interface \Drupal\Core\Entity\FieldableEntityStorageInterface extends \Drupal\Core\Entity\EntityStorageInterface; interface \Drupal\Core\Field\FieldDefinitionListenerInterface; interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface
- interface \Drupal\Core\Entity\DynamicallyFieldableEntityStorageInterface extends \Drupal\Core\Entity\FieldableEntityStorageInterface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface \Drupal\Core\Field\FieldDefinitionListenerInterface
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\EntityView 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.