Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

EntityReferenceFieldItemListInterface.php

Namespace

Drupal\Core\Field

File

core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php

View source
<?php

namespace Drupal\Core\Field;


/**
 * Interface for entity reference lists of field items.
 */
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();

}

Interfaces

Title Deprecated Summary
EntityReferenceFieldItemListInterface Interface for entity reference lists of field items.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal