SAVED_NEW

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

Return status for saving which involved creating a new item.

12 uses of SAVED_NEW
ConfigEntityStorage::doSave in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Performs storage-specific saving of the entity.
ConfigEntityStorageTest::testSaveInsert 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.
ConvertTest::testConvertFileInRoot in core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php
Tests that files stored in the root folder are converted properly.
KeyValueContentEntityStorageTest::testCRUD in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
Tests CRUD operations.

... See full list

File

core/includes/common.inc, line 52

Code

const SAVED_NEW = 1;

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