Search for entityUpdate
- Search 7.x for entityUpdate
- Search 9.5.x for entityUpdate
- Search 8.9.x for entityUpdate
- Search 11.x for entityUpdate
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ConfigEntityUpdater | class | core/ |
A utility class to make updating configuration entities simple. |
ConfigEntityUpdater.php | file | core/ |
|
ConfigEntityUpdater::$batchSize | property | core/ |
The number of entities to process in each batch. |
ConfigEntityUpdater::$entityTypeManager | property | core/ |
The entity type manager. |
ConfigEntityUpdater::create | function | core/ |
Instantiates a new instance of this class. |
ConfigEntityUpdater::doOne | function | core/ |
Apply the callback an entity and save it if the callback makes changes. |
ConfigEntityUpdater::SANDBOX_KEY | constant | core/ |
The key used to store information in the update sandbox. |
ConfigEntityUpdater::update | function | core/ |
Updates configuration entities as part of a Drupal update. |
ConfigEntityUpdater::__construct | function | core/ |
ConfigEntityUpdater constructor. |
ConfigEntityUpdaterTest | class | core/ |
Tests \Drupal\Core\Config\Entity\ConfigEntityUpdater. |
ConfigEntityUpdaterTest.php | file | core/ |
|
ConfigEntityUpdaterTest::$modules | property | core/ |
Modules to install. |
ConfigEntityUpdaterTest::testUpdate | function | core/ |
@covers ::update |
ConfigEntityUpdaterTest::testUpdateDefaultCallback | function | core/ |
@covers ::update |
ConfigEntityUpdaterTest::testUpdateException | function | core/ |
@covers ::update |
ConfigEntityUpdaterTest::testUpdateOncePerUpdateException | function | core/ |
@covers ::update |
EntityDefinitionTestTrait::applyEntityUpdates | function | core/ |
Applies all the detected valid changes. |
EntityDefinitionTestTrait::doEntityUpdate | function | core/ |
Performs an entity type definition update. |
EntityOperations::entityUpdate | function | core/ |
|
EntityOperations::entityUpdate | function | core/ |
Responds to updates to an entity. |
EntityRevisionTest::testGetEntityUpdateRevision | function | core/ |
Tests that revision updates update. |
EntityUpdateInitialTest | class | core/ |
Tests handling of existing initial keys during updates. |
EntityUpdateInitialTest.php | file | core/ |
|
EntityUpdateInitialTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
EntityUpdateInitialTest::$modules | property | core/ |
Modules to install. |
EntityUpdateInitialTest::setUp | function | core/ |
|
EntityUpdateInitialTest::testInitialIsIgnored | function | core/ |
Tests that a pre-existing initial key in the field schema is not a change. |
EntityUpdateTest | class | core/ |
Tests updating an entity. |
EntityUpdateTest.php | file | core/ |
|
EntityUpdateTest::$modules | property | core/ |
Modules to install. |
EntityUpdateTest::setUp | function | core/ |
|
EntityUpdateTest::testEntityUpdate | function | core/ |
Tests updating an existing entity. |
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 | function | core/ |
Ensure non-translatable entities can be PATCHed with an alternate language. |
WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace | function | core/ |
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.