You are here

public function EntityManager::onFieldableEntityTypeUpdate in Drupal 8

Overrides EntityTypeListenerInterface::onFieldableEntityTypeUpdate

Deprecated

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeUpdate() instead.

See also

https://www.drupal.org/project/drupal/issues/2984782

File

core/lib/Drupal/Core/Entity/EntityManager.php, line 686

Class

EntityManager
Provides a wrapper around many other services relating to entities.

Namespace

Drupal\Core\Entity

Code

public function onFieldableEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original, array $field_storage_definitions, array $original_field_storage_definitions, array &$sandbox = NULL) {
  $this->container
    ->get('entity_type.listener')
    ->onFieldableEntityTypeUpdate($entity_type, $original, $field_storage_definitions, $original_field_storage_definitions, $sandbox);
}