SAVED_NEW
Same name in other branches
- 7.x includes/common.inc \SAVED_NEW
- 9 core/includes/common.inc \SAVED_NEW
- 8.9.x core/includes/common.inc \SAVED_NEW
- 11.x core/includes/common.inc \SAVED_NEW
Return status for saving which involved creating a new item.
24 uses of SAVED_NEW
- BlockContentTestBase::createBlockContent in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentTestBase.php - Creates a content block.
- BlockContentTestBase::createBlockContentType in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentTestBase.php - Creates a block type (bundle).
- ConfigEntityStorage::doSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - ConfigEntityStorageTest::testSaveInsert in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::save @covers ::doSave
- ConfigEntityTest::testCRUD in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityTest.php - Tests CRUD operations.
File
-
core/
includes/ common.inc, line 50
Code
const SAVED_NEW = 1;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.