Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()
  2. 9 core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()

Returns the entity definition update manager.

Return value

\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface The entity definition update manager.

16 calls to Drupal::entityDefinitionUpdateManager()
BlockContentRemoveConstraint::setUp in core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
block_content_update_10100 in core/modules/block_content/block_content.install
Update entity definition to handle revision routes.
block_content_update_10200 in core/modules/block_content/block_content.install
Remove the unique values constraint from block content info fields.
block_content_update_10300 in core/modules/block_content/block_content.install
Apply index to reusable column.
contact_storage_test_install in core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.install
Implements hook_install().

... See full list

File

core/lib/Drupal.php, line 724

Class

Drupal
Static Service Container wrapper.

Code

public static function entityDefinitionUpdateManager() {
  return static::getContainer()
    ->get('entity.definition_update_manager');
}