You are here

public static function Drupal::entityDefinitionUpdateManager in Drupal 8

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

Returns the entity definition update manager.

Return value

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

60 calls to Drupal::entityDefinitionUpdateManager()
aggregator_update_8200 in core/modules/aggregator/aggregator.install
Make the 'Source feed' field for aggregator items required.
aggregator_update_8501 in core/modules/aggregator/aggregator.install
Add a default value for the 'Refresh' field for aggregator feed entities.
BlockContentReusableUpdateTest::testReusableFieldAddition in core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php
Tests adding 'reusable' entity base field to the block content entity type.
BlockContentUpdateTest::testSimpleUpdates in core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
Tests the revision metadata fields and revision data table additions.
BlockContentUpdateTest::testStatusFieldAddition in core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
Tests adding a status field to the block content entity type.

... See full list

File

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

Class

Drupal
Static Service Container wrapper.

Code

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