Same name and namespace in other branches
  1. 4.7.x includes/common.inc \SAVED_UPDATED
  2. 5.x includes/common.inc \SAVED_UPDATED
  3. 6.x includes/common.inc \SAVED_UPDATED
  4. 7.x includes/common.inc \SAVED_UPDATED
  5. 8.9.x core/includes/common.inc \SAVED_UPDATED
  6. 9 core/includes/common.inc \SAVED_UPDATED

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

23 uses of SAVED_UPDATED
BlockContentTypeForm::save in core/modules/block_content/src/BlockContentTypeForm.php
Form submission handler for the 'save' action.
CommentTypeForm::save in core/modules/comment/src/CommentTypeForm.php
Form submission handler for the 'save' action.
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 @covers ::doSave
ConfigEntityStorageTest::testSaveUpdate in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
@covers ::save @covers ::doSave

... See full list

File

core/includes/common.inc, line 55
Common functions that many Drupal modules will need to reference.

Code

const SAVED_UPDATED = 2;