You are here

public function GeofieldItem::setValue in Geofield 8

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

Parameters

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

Overrides FieldItemBase::setValue

File

src/Plugin/Field/FieldType/GeofieldItem.php, line 209

Class

GeofieldItem
Plugin implementation of the 'geofield' field type.

Namespace

Drupal\geofield\Plugin\Field\FieldType

Code

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