ConfigEntityStorage::loadMultipleOverrideFree

public ConfigEntityStorage::loadMultipleOverrideFree(array $ids = NULL)

Loads one or more entities in their original form without overrides.

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 ConfigEntityStorageInterface::loadMultipleOverrideFree

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 494

Class

ConfigEntityStorage
Defines the storage class for configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

public function loadMultipleOverrideFree(array $ids = NULL) {
  $this->overrideFree = TRUE;
  $entities = $this->loadMultiple($ids);
  $this->overrideFree = FALSE;
  return $entities;
}
doc_Drupal
2016-10-29 08:52:55
Comments
Leave a Comment

Please login to continue.