interface EntityReferenceFieldItemListInterface
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php \Drupal\Core\Field\EntityReferenceFieldItemListInterface
- 10 core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php \Drupal\Core\Field\EntityReferenceFieldItemListInterface
- 8.9.x core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php \Drupal\Core\Field\EntityReferenceFieldItemListInterface
Interface for entity reference lists of field items.
Hierarchy
- interface \Drupal\Core\Access\AccessibleInterface; interface \Drupal\Core\TypedData\ListInterface extends \Drupal\Core\TypedData\TraversableTypedDataInterface, \Drupal\Core\TypedData\ArrayAccess, \Drupal\Core\TypedData\Countable
- interface \Drupal\Core\Field\FieldItemListInterface extends \Drupal\Core\TypedData\ListInterface, \Drupal\Core\Access\AccessibleInterface
- interface \Drupal\Core\Field\EntityReferenceFieldItemListInterface extends \Drupal\Core\Field\FieldItemListInterface
- interface \Drupal\Core\Field\FieldItemListInterface extends \Drupal\Core\TypedData\ListInterface, \Drupal\Core\Access\AccessibleInterface
Expanded class hierarchy of EntityReferenceFieldItemListInterface
All classes that implement EntityReferenceFieldItemListInterface
8 files declare their use of EntityReferenceFieldItemListInterface
- EntityReferenceFieldNormalizer.php in core/
modules/ jsonapi/ src/ Normalizer/ EntityReferenceFieldNormalizer.php - EntityReferenceFormatterBase.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceFormatterBase.php - FileMediaFormatterBase.php in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileMediaFormatterBase.php - HalEntityNormalizationTrait.php in core/
modules/ hal/ tests/ src/ Functional/ EntityResource/ HalEntityNormalizationTrait.php - ImageFormatterBase.php in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatterBase.php
File
-
core/
lib/ Drupal/ Core/ Field/ EntityReferenceFieldItemListInterface.php, line 8
Namespace
Drupal\Core\FieldView source
interface EntityReferenceFieldItemListInterface extends FieldItemListInterface {
/**
* Gets the entities referenced by this field, preserving field item deltas.
*
* @return \Drupal\Core\Entity\EntityInterface[]
* An array of entity objects keyed by field item deltas.
*/
public function referencedEntities();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.