You are here

public function FieldItemListInterface::__get in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::__get()
  2. 9 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\Field

Code

public function __get($property_name);