function Drupal::entityDefinitionUpdateManager
Same name and namespace in other branches
- 9 core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()
- 8.9.x core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()
- 11.x core/lib/Drupal.php \Drupal::entityDefinitionUpdateManager()
Returns the entity definition update manager.
Return value
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface The entity definition update manager.
5 calls to Drupal::entityDefinitionUpdateManager()
- EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a bundle field when the entity type schema has changed.
- 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.
- taxonomy_update_10100 in core/
modules/ taxonomy/ taxonomy.install - Update entity definition to handle revision routes.
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.