Gets a property object from the first field item.
See also
\Drupal\Core\Entity\Field\FieldItemInterface::get()
File
- drupal/core/lib/Drupal/Core/Entity/Field/FieldInterface.php, line 40
- 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);