You are here

public static function Drupal::entityDefinitionUpdateManager in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()

Returns the entity definition update manager.

Return value

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

8 calls to Drupal::entityDefinitionUpdateManager()
entity_test_update_8001 in core/modules/system/tests/modules/entity_test/update/entity_definition_updates_8001.inc
Makes the 'user_id' field multiple and migrate its data.
entity_test_update_8002 in core/modules/system/tests/modules/entity_test/update/entity_definition_updates_8002.inc
Makes the 'user_id' field single and migrate its data.
install_core_entity_type_definitions in core/includes/install.core.inc
Installs entity type definitions provided by core.
ModuleInstaller::install in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Installs a given list of modules.
ModuleInstaller::uninstall in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Uninstalls a given list of modules.

... See full list

File

core/lib/Drupal.php, line 713
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

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