function EntityTypeListenerInterface::onFieldableEntityTypeCreate
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate()
- 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.
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\EntityCode
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.