constant SAVED_NEW in Drupal 10
Same name and namespace in other branches
- 8 core/includes/common.inc \SAVED_NEW
- 4 includes/common.inc \SAVED_NEW
- 5 includes/common.inc \SAVED_NEW
- 6 includes/common.inc \SAVED_NEW
- 7 includes/common.inc \SAVED_NEW
- 9 core/includes/common.inc \SAVED_NEW
Return status for saving which involved creating a new item.
21 uses of SAVED_NEW
- BlockContentTestBase::createBlockContent in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentTestBase.php - Creates a custom block.
- BlockContentTestBase::createBlockContentType in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentTestBase.php - Creates a custom block type (bundle).
- 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 @covers ::doSave
- ConfigEntityTest::testCRUD in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityTest.php - Tests CRUD operations.
File
- core/
includes/ common.inc, line 51 - Common functions that many Drupal modules will need to reference.
Code
const SAVED_NEW = 1;