EntityBase::isNew |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Determines whether the entity is new. |
InlineBlock::$isNew |
property |
core/modules/layout_builder/src/Plugin/Block/InlineBlock.php |
Whether a new block is being created. |
SourceString::isNew |
function |
core/modules/locale/src/SourceString.php |
Checks whether the object is not saved to storage yet. |
ConfigTest::testIsNew |
function |
core/tests/Drupal/Tests/Core/Config/ConfigTest.php |
@covers ::isNew |
StringInterface::isNew |
function |
core/modules/locale/src/StringInterface.php |
Checks whether the object is not saved to storage yet. |
EntityInterface::isNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Determines whether the entity is new. |
ConfigEntityBase::isNew |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php |
Overrides Entity::isNew(). |
EntityBase::enforceIsNew |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Enforces an entity to be new. |
TranslationString::isNew |
function |
core/modules/locale/src/TranslationString.php |
Checks whether the object is not saved to storage yet. |
EntityBase::$enforceIsNew |
property |
core/lib/Drupal/Core/Entity/EntityBase.php |
Boolean indicating whether the entity should be forced to be new. |
TranslationString::$isNew |
property |
core/modules/locale/src/TranslationString.php |
Boolean indicating whether the string object is new. |
StorableConfigBase::isNew |
function |
core/lib/Drupal/Core/Config/StorableConfigBase.php |
Returns whether this configuration object is new. |
StorableConfigBase::$isNew |
property |
core/lib/Drupal/Core/Config/StorableConfigBase.php |
Whether the configuration object is new or has been saved to the storage. |
EntityInterface::enforceIsNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Enforces an entity to be new. |
RevisionableInterface::isNewRevision |
function |
core/lib/Drupal/Core/Entity/RevisionableInterface.php |
Determines whether a new revision should be created on save. |
TranslatableInterface::isNewTranslation |
function |
core/lib/Drupal/Core/TypedData/TranslatableInterface.php |
Checks whether the translation is new. |
ContentEntityBaseUnitTest::testIsNewRevision |
function |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
@covers ::isNewRevision
@covers ::setNewRevision |
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation |
function |
core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php |
Tests that the flag for enforcing a new entity is not shared. |