Search for entityUpdate

  1. Search 7.x for entityUpdate
  2. Search 9.5.x for entityUpdate
  3. Search 8.9.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::doOne function core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php Apply the callback an entity and save it if the callback makes changes.
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 install.
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 Tests that revision updates update.
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 install.
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.
EntityUpdateTest class core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Tests updating an entity.
EntityUpdateTest.php file core/modules/editor/tests/src/Kernel/EntityUpdateTest.php
EntityUpdateTest::$modules property core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Modules to install.
EntityUpdateTest::setUp function core/modules/editor/tests/src/Kernel/EntityUpdateTest.php
EntityUpdateTest::testEntityUpdate function core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Tests updating an existing entity.
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure non-translatable entities can be PATCHed with an alternate language.
WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests UPDATE operations for unsupported entity types.

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