function EntityTypeListenerInterface::onFieldableEntityTypeCreate

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate()
  2. 10 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate()

Reacts to the creation of the fieldable entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being created.

\Drupal\Core\Field\FieldStorageDefinitionInterface[] $field_storage_definitions: The entity type's field storage definitions.

4 methods override EntityTypeListenerInterface::onFieldableEntityTypeCreate()
EntityManager::onFieldableEntityTypeCreate in core/lib/Drupal/Core/Entity/EntityManager.php
EntityTypeListener::onFieldableEntityTypeCreate in core/lib/Drupal/Core/Entity/EntityTypeListener.php
Reacts to the creation of the fieldable entity type.
SqlContentEntityStorage::onFieldableEntityTypeCreate in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Reacts to the creation of the fieldable entity type.
SqlContentEntityStorageSchema::onFieldableEntityTypeCreate in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Reacts to the creation of the fieldable entity type.

File

core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php, line 26

Class

EntityTypeListenerInterface
Defines an interface for reacting to entity type creation, deletion, and updates.

Namespace

Drupal\Core\Entity

Code

public function onFieldableEntityTypeCreate(EntityTypeInterface $entity_type, array $field_storage_definitions);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.