function EntityManager::onFieldableEntityTypeCreate
Overrides EntityTypeListenerInterface::onFieldableEntityTypeCreate
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate() instead.
See also
https://www.drupal.org/project/drupal/issues/3043455
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityManager.php, line 659
Class
- EntityManager
- Provides a wrapper around many other services relating to entities.
Namespace
Drupal\Core\EntityCode
public function onFieldableEntityTypeCreate(EntityTypeInterface $entity_type, array $field_storage_definitions) {
$this->container
->get('entity_type.listener')
->onFieldableEntityTypeCreate($entity_type, $field_storage_definitions);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.