EntityBase::$enforceIsNew

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::enforceIsNew
  2. 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::enforceIsNew
  3. 11.x 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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.