function EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
- 10 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
2 methods override EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
- EntitySchemaSubscriber::onFieldableEntityTypeCreate in core/
modules/ workspaces/ src/ EventSubscriber/ EntitySchemaSubscriber.php - Reacts to the creation of the fieldable entity type.
- EntityTestDefinitionSubscriber::onFieldableEntityTypeCreate in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestDefinitionSubscriber.php - Reacts to the creation of the fieldable entity type.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeEventSubscriberTrait.php, line 65
Class
- EntityTypeEventSubscriberTrait
- Helper methods for EntityTypeListenerInterface.
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.