public function FieldItemListInterface::__set
public FieldItemListInterface::__set($property_name, $value)
Magic method: Sets a property value of the first field item.
See also
\Drupal\Core\Field\FieldItemInterface::__get()
File
- core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 109
Class
- FieldItemListInterface
- Interface for fields, being lists of field items.
Namespace
Drupal\Core\FieldCode
public function __set($property_name, $value);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldItemListInterface.php/function/FieldItemListInterface::__set/8.1.x