public property FieldInstance::$deleted

Flag indicating whether the instance is deleted.

The delete() method marks the instance as "deleted" and removes the corresponding entry from the config storage, but keeps its definition in the state storage while field data is purged by a separate garbage-collection process.

Deleted instances stay out of the regular entity lifecycle (notably, their values are not populated in loaded entities, and are not saved back).

Type: bool

File

drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php, line 187
Contains \Drupal\field\Plugin\Core\Entity\FieldInstance.

Class

FieldInstance
Defines the Field instance entity.

Namespace

Drupal\field\Plugin\Core\Entity

Code

public $deleted = FALSE;