Magic method: Sets a property value of the first field item.
See also
\Drupal\Core\Entity\Field\FieldItemInterface::__set()
File
- drupal/core/lib/Drupal/Core/Entity/Field/FieldInterface.php, line 54
- Contains \Drupal\Core\Entity\Field\FieldInterface.
Class
- FieldInterface
- Interface for fields, being lists of field items.
Namespace
Drupal\Core\Entity\Field
Code
public function __set($property_name, $value);