constant EntityTypeEvents::CREATE in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityTypeEvents.php \Drupal\Core\Entity\EntityTypeEvents::CREATE
The name of the event triggered when a new entity type is created.
This event allows modules to react to a new entity type being created. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance.
See also
\Drupal\Core\Entity\EntityTypeEvent
\Drupal\Core\Entity\EntityManager::onEntityTypeCreate()
\Drupal\Core\Entity\EntityTypeEventSubscriberTrait
\Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::onEntityTypeCreate()
Related topics
File
- core/
lib/ Drupal/ Core/ Entity/ EntityTypeEvents.php, line 31 - Contains \Drupal\Core\Entity\EntityTypeEvents.
Class
- EntityTypeEvents
- Contains all events thrown while handling entity types.
Namespace
Drupal\Core\EntityCode
const CREATE = 'entity_type.definition.create';