1. 8.3.x core/lib/Drupal/Core/Entity/Entity.php Entity::enforceIsNew
  2. 8.0.x core/lib/Drupal/Core/Entity/Entity.php Entity::enforceIsNew
  3. 8.1.x core/lib/Drupal/Core/Entity/Entity.php Entity::enforceIsNew
  4. 8.2.x core/lib/Drupal/Core/Entity/Entity.php Entity::enforceIsNew
  5. 8.4.x core/lib/Drupal/Core/Entity/Entity.php Entity::enforceIsNew

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

Type: bool

File

core/lib/Drupal/Core/Entity/Entity.php, line 40

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected $enforceIsNew;