EntityBase::enforceIsNew |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Enforces an entity to be new. |
EntityBase::$enforceIsNew |
property |
core/lib/Drupal/Core/Entity/EntityBase.php |
Boolean indicating whether the entity should be forced to be new. |
EntityInterface::enforceIsNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Enforces an entity to be new. |
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation |
function |
core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php |
Tests that the flag for enforcing a new entity is not shared. |