function EntityTypeListenerInterface::onEntityTypeCreate

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

Reacts to the creation of the entity type.

Parameters

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

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function onEntityTypeCreate(EntityTypeInterface $entity_type);

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