SAVED_UPDATED

Same name and namespace in other branches
  1. 9 core/includes/common.inc \SAVED_UPDATED
  2. 8.9.x core/includes/common.inc \SAVED_UPDATED
  3. 11.x core/includes/common.inc \SAVED_UPDATED

Return status for saving which involved an update to an existing item.

8 uses of SAVED_UPDATED
ConfigEntityStorage::doSave in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Performs storage-specific saving of the entity.
ConfigEntityStorageTest::testSaveRename in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
@covers ::save[[api-linebreak]] @covers ::doSave[[api-linebreak]]
ConfigEntityStorageTest::testSaveUpdate in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
@covers ::save[[api-linebreak]] @covers ::doSave[[api-linebreak]]
ContentEntityStorageBase::doSave in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Performs storage-specific saving of the entity.
KeyValueEntityStorage::doSave in core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
Performs storage-specific saving of the entity.

... See full list

File

core/includes/common.inc, line 55

Code

const SAVED_UPDATED = 2;

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