Reacts to field definition CRUD on behalf of the Entity system.
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldDefinitionListener.php/class/FieldDefinitionListener/8.1.x