You are here

public function IntervalItem::setValue in Interval Field 8

Overrides \Drupal\Core\TypedData\TypedData::setValue().

Parameters

array|null $values: An array of property values.

Overrides FieldItemBase::setValue

File

src/Plugin/Field/FieldType/IntervalItem.php, line 108

Class

IntervalItem
Provides a data type plugin for an interval item.

Namespace

Drupal\interval\Plugin\Field\FieldType

Code

public function setValue($values, $notify = TRUE) {
  unset($this->intervalPlugin);
  parent::setValue($values, $notify);
}