You are here

protected property FieldCollection::$newHostRevision in Field collection 8

Same name and namespace in other branches
  1. 8.3 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 40

Class

FieldCollection
Plugin implementation of the 'field_collection' field type.

Namespace

Drupal\field_collection\Plugin\Field\FieldType

Code

protected $newHostRevision;