You are here

protected property FieldCollection::$newHostRevision in Field collection 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldType/FieldCollection.php \Drupal\field_collection\Plugin\Field\FieldType\FieldCollection::newHostRevision

Cache for whether the host is a new revision.

Set in preSave and used in update(). By the time update() is called isNewRevision() for the host is always FALSE.

Type: bool

File

src/Plugin/Field/FieldType/FieldCollection.php, line 46

Class

FieldCollection
Plugin implementation of the 'field_collection' field type.

Namespace

Drupal\field_collection\Plugin\Field\FieldType

Code

protected $newHostRevision;