interface EntityReferenceFieldItemListInterface in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php \Drupal\Core\Field\EntityReferenceFieldItemListInterface
- 9 core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php \Drupal\Core\Field\EntityReferenceFieldItemListInterface
Interface for entity reference lists of field items.
Hierarchy
- interface \Drupal\Core\TypedData\ListInterface extends \Drupal\Core\TypedData\ArrayAccess \Drupal\Core\TypedData\Countable; interface \Drupal\Core\Access\AccessibleInterface
- interface \Drupal\Core\Field\FieldItemListInterface
- interface \Drupal\Core\Field\EntityReferenceFieldItemListInterface
- interface \Drupal\Core\Field\FieldItemListInterface
Expanded class hierarchy of EntityReferenceFieldItemListInterface
All classes that implement EntityReferenceFieldItemListInterface
5 files declare their use of EntityReferenceFieldItemListInterface
- 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 - ImageFormatterBase.php in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatterBase.php - Relationship.php in core/
modules/ jsonapi/ src/ JsonApiResource/ Relationship.php - ResourceIdentifier.php in core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceIdentifier.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();
}