You are here

constant SAVED_NEW in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/common.inc \SAVED_NEW

Return status for saving which involved creating a new item.

18 uses of SAVED_NEW
BlockContentTestBase::createBlockContent in core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
Creates a custom block.
BlockContentTestBase::createBlockContentType in core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
Creates a custom block type (bundle).
BrowserTestBase::drupalCreateRole in core/modules/simpletest/src/BrowserTestBase.php
Creates a role with specified permissions.
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

... See full list

File

core/includes/common.inc, line 59
Common functions that many Drupal modules will need to reference.

Code

const SAVED_NEW = 1;