function ConfigEntityStorage::loadMultipleOverrideFree
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
1 call to ConfigEntityStorage::loadMultipleOverrideFree()
- ConfigEntityStorage::loadOverrideFree in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Loads one entity in their original form without overrides.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php, line 485
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
public function loadMultipleOverrideFree(?array $ids = NULL) {
$this->overrideFree = TRUE;
$entities = $this->loadMultiple($ids);
$this->overrideFree = FALSE;
return $entities;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.