You are here

public function ContentEntityStorageBase::onFieldDefinitionCreate in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::onFieldDefinitionCreate()
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::onFieldDefinitionCreate()

Reacts to the creation of a field.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition created.

Overrides FieldDefinitionListenerInterface::onFieldDefinitionCreate

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 447

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

public function onFieldDefinitionCreate(FieldDefinitionInterface $field_definition) {
}