function EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
  2. 10 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate()
  3. 11.x 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\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.