function FieldItemListInterface::__get
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__get()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__get()
- 10 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__get()
Magic method: Gets a property value of to the first field item.
See also
\Drupal\Core\Field\FieldItemInterface::__set()
1 method overrides FieldItemListInterface::__get()
- FieldItemList::__get in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php - Magic method: Gets a property value of to the first field item.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemListInterface.php, line 107
Class
- FieldItemListInterface
- Interface for fields, being lists of field items.
Namespace
Drupal\Core\FieldCode
public function __get($property_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.