You are here

constant SAVED_UPDATED in Drupal 8

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

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

27 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 64
Common functions that many Drupal modules will need to reference.

Code

const SAVED_UPDATED = 2;