Implements \Drupal\Core\Entity\Field\FieldInterface::__get().
Overrides FieldInterface::__get
File
- drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php, line 113
- Contains \Drupal\Core\Entity\Field\Type\Field.
Class
- Field
- Represents an entity field; that is, a list of field item objects.
Namespace
Drupal\Core\Entity\Field\Type
Code
public function __get($property_name) {
return $this
->offsetGet(0)
->__get($property_name);
}