public function FieldInterface::__get

Magic method: Gets a property value of to the first field item.

See also

\Drupal\Core\Entity\Field\FieldItemInterface::__get()

1 method overrides FieldInterface::__get()
Field::__get in drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php
Implements \Drupal\Core\Entity\Field\FieldInterface::__get().

File

drupal/core/lib/Drupal/Core/Entity/Field/FieldInterface.php, line 47
Contains \Drupal\Core\Entity\Field\FieldInterface.

Class

FieldInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Entity\Field

Code

public function __get($property_name);