You are here

public function ConfigEntityStorageDecorator::loadOverrideFree in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::loadOverrideFree()
  2. 8 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::loadOverrideFree()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::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

webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php, line 171

Class

ConfigEntityStorageDecorator
Class ConfigEntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function loadOverrideFree($id) {
  return $this
    ->getOriginalObject()
    ->loadOverrideFree($id);
}