public function ContentEntityNullStorage::loadMultiple

public ContentEntityNullStorage::loadMultiple(array $ids = NULL)

Loads one or more entities.

Parameters

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

Return value

\Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found.

Overrides EntityStorageBase::loadMultiple

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 17

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function loadMultiple(array $ids = NULL) {
  return array();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityNullStorage.php/function/ContentEntityNullStorage::loadMultiple/8.1.x