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

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityInterface.php

function EntityInterface::loadMultiple

Loads one or more entities.

Parameters

array $ids: An array of entity IDs, or NULL to load all entities.

Return value

static[] An array of entity objects indexed by their IDs.

2 methods override EntityInterface::loadMultiple()
EntityBase::loadMultiple in core/lib/Drupal/Core/Entity/EntityBase.php
Loads one or more entities.
ViewUI::loadMultiple in core/modules/views_ui/src/ViewUI.php
Loads one or more entities.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 197

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public static function loadMultiple(?array $ids = NULL);

API Navigation

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