public function FieldItemListInterface::__set in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__set()
- 9 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\FieldCode
public function __set($property_name, $value);