Entity::loadMultiple

public static function Entity::loadMultiple

public static Entity::loadMultiple(array $ids = NULL)

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.

Overrides EntityInterface::loadMultiple

File

core/lib/Drupal/Core/Entity/Entity.php, line 505

Class

登录查看完整内容