Reacts to field definition CRUD on behalf of the Entity system.
Hierarchy
- class \Drupal\Core\Field\FieldDefinitionListener implements FieldDefinitionListenerInterface
File
- core/lib/Drupal/Core/Field/FieldDefinitionListener.php, line 13
Namespace
Drupal\Core\Field
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FieldDefinitionListener::$cacheBackend | protected | property | Cache backend instance. |
FieldDefinitionListener::$entityFieldManager | protected | property | The entity field manager. |
FieldDefinitionListener::$entityTypeManager | protected | property | The entity type manager. |
FieldDefinitionListener::$keyValueFactory | protected | property | The key-value factory. |
FieldDefinitionListener::onFieldDefinitionCreate | public | function | Reacts to the creation of a field. Overrides FieldDefinitionListenerInterface::onFieldDefinitionCreate |
FieldDefinitionListener::onFieldDefinitionDelete | public | function | Reacts to the deletion of a field. Overrides FieldDefinitionListenerInterface::onFieldDefinitionDelete |
FieldDefinitionListener::onFieldDefinitionUpdate | public | function | Reacts to the update of a field. Overrides FieldDefinitionListenerInterface::onFieldDefinitionUpdate |
FieldDefinitionListener::__construct | public | function | Constructs a new FieldDefinitionListener. |
Please login to continue.