EntityReferenceFieldItemListInterface::referencedEntities

public EntityReferenceFieldItemListInterface::referencedEntities()

Gets the entities referenced by this field, preserving field item deltas.

Return value

\Drupal\Core\Entity\EntityInterface[] An array of entity objects keyed by field item deltas.

File

core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php, line 16

Class

EntityReferenceFieldItemListInterface
Interface for entity reference lists of field items.

Namespace

Drupal\Core\Field

Code

public function referencedEntities();
doc_Drupal
2016-10-29 09:07:23
Comments
Leave a Comment

Please login to continue.