W3cubDocs

/Drupal 8

class FieldDefinitionListener

Reacts to field definition CRUD on behalf of the Entity system.

Hierarchy

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.

© 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