function ConfigEntityStorage::loadOverrideFree
Loads one entity in their original form without overrides.
Parameters
mixed $id: The ID of the entity to load.
Return value
\Drupal\Core\Entity\EntityInterface|null An entity object. NULL if no matching entity is found.
Overrides ConfigEntityStorageInterface::loadOverrideFree
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php, line 477
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
public function loadOverrideFree($id) {
$entities = $this->loadMultipleOverrideFree([
$id,
]);
return $entities[$id] ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.