Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::enforceIsNew
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::enforceIsNew

Boolean indicating whether the entity should be forced to be new.

Type: bool

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 41

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected $enforceIsNew;