You are here

constant SAVED_UPDATED in Drupal 10

Same name and namespace in other branches
  1. 8 core/includes/common.inc \SAVED_UPDATED
  2. 4 includes/common.inc \SAVED_UPDATED
  3. 5 includes/common.inc \SAVED_UPDATED
  4. 6 includes/common.inc \SAVED_UPDATED
  5. 7 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.

24 uses of SAVED_UPDATED
BlockContentTypeForm::save in core/modules/block_content/src/BlockContentTypeForm.php
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 56
Common functions that many Drupal modules will need to reference.

Code

const SAVED_UPDATED = 2;