SAVED_UPDATED

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

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

28 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 54

Code

const SAVED_UPDATED = 2;

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