You are here

public function FieldItemListInterface::__set in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__set()
  2. 10 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__set()

Magic method: Sets a property value of the first field item.

See also

\Drupal\Core\Field\FieldItemInterface::__get()

1 method overrides FieldItemListInterface::__set()
FieldItemList::__set in core/lib/Drupal/Core/Field/FieldItemList.php
Magic method: Sets a property value of the first field item.

File

core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 114

Class

FieldItemListInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Field

Code

public function __set($property_name, $value);