Search for entityUpdate

  1. Search 7.x for entityUpdate
  2. Search 9.5.x for entityUpdate
  3. Search 10.3.x for entityUpdate
  4. Search 11.x for entityUpdate
  5. Other projects
Title Object type File name Summary
ConfigEntityUpdater class core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php A utility class to make updating configuration entities simple.
ConfigEntityUpdater.php file core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php
ConfigEntityUpdater::$batchSize property core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php The number of entities to process in each batch.
ConfigEntityUpdater::$entityTypeManager property core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php The entity type manager.
ConfigEntityUpdater::create function core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php Instantiates a new instance of this class.
ConfigEntityUpdater::SANDBOX_KEY constant core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php The key used to store information in the update sandbox.
ConfigEntityUpdater::update function core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php Updates configuration entities as part of a Drupal update.
ConfigEntityUpdater::__construct function core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php ConfigEntityUpdater constructor.
ConfigEntityUpdaterTest class core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php Tests \Drupal\Core\Config\Entity\ConfigEntityUpdater.
ConfigEntityUpdaterTest.php file core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php
ConfigEntityUpdaterTest::$modules property core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php Modules to enable.
ConfigEntityUpdaterTest::testUpdate function core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php @covers ::update
ConfigEntityUpdaterTest::testUpdateDefaultCallback function core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php @covers ::update
ConfigEntityUpdaterTest::testUpdateException function core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php @covers ::update
ConfigEntityUpdaterTest::testUpdateOncePerUpdateException function core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php @covers ::update
EntityDefinitionTestTrait::applyEntityUpdates function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Applies all the detected valid changes.
EntityDefinitionTestTrait::doEntityUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs an entity type definition update.
EntityOperations::entityUpdate function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityUpdate function core/modules/workspaces/src/EntityOperations.php Responds to updates to an entity.
EntityRevisionTest::testGetEntityUpdateRevision function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Test that revision updates update.
EntityUpdateAddRevisionDefaultTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the upgrade path for adding the 'revision_default' field.
EntityUpdateAddRevisionDefaultTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php
EntityUpdateAddRevisionDefaultTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionDefaultTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The state service.
EntityUpdateAddRevisionDefaultTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Set database dump files to be used.
EntityUpdateAddRevisionDefaultTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionDefaultTest::testAddingTheRevisionDefaultField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the addition of the 'revision_default' base field.
EntityUpdateAddRevisionTranslationAffectedTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the upgrade path for adding the 'revision_translation_affected' field.
EntityUpdateAddRevisionTranslationAffectedTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php
EntityUpdateAddRevisionTranslationAffectedTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionTranslationAffectedTest::$modules property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Modules to enable after the database is loaded.
EntityUpdateAddRevisionTranslationAffectedTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The state service.
EntityUpdateAddRevisionTranslationAffectedTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Set database dump files to be used.
EntityUpdateAddRevisionTranslationAffectedTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionTranslationAffectedTest::testAddingTheRevisionTranslationAffectedField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the addition of the 'revision_translation_affected' base field.
EntityUpdateAddRevisionTranslationAffectedTest::testDeletedEntityType function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the 'revision_translation_affected' field on a deleted entity type.
EntityUpdateInitialTest class core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Tests handling of existing initial keys during updates.
EntityUpdateInitialTest.php file core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
EntityUpdateInitialTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php The theme to install as the default for testing.
EntityUpdateInitialTest::$modules property core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Modules to enable.
EntityUpdateInitialTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
EntityUpdateInitialTest::testInitialIsIgnored function core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Tests that a pre-existing initial key in the field schema is not a change.
EntityUpdateToPublishableTest class core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Tests the upgrade path for making an entity publishable.
EntityUpdateToPublishableTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php
EntityUpdateToPublishableTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The theme to install as the default for testing.
EntityUpdateToPublishableTest::$entityDefinitionUpdateManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity definition update manager.
EntityUpdateToPublishableTest::$entityTypeManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity type manager service.
EntityUpdateToPublishableTest::$installedStorageSchema property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The key-value collection for tracking installed storage schema.
EntityUpdateToPublishableTest::$lastInstalledSchemaRepository property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The last installed schema repository service.
EntityUpdateToPublishableTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The state service.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.