function ConfigManagerInterface::loadConfigEntityByName

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::loadConfigEntityByName()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::loadConfigEntityByName()
  3. 11.x core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::loadConfigEntityByName()

Loads a configuration entity using the configuration name.

Parameters

string $name: The configuration object name.

Return value

\Drupal\Core\Entity\EntityInterface|null The configuration entity or NULL if it does not exist.

File

core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 30

Class

ConfigManagerInterface
Provides an interface for configuration manager.

Namespace

Drupal\Core\Config

Code

public function loadConfigEntityByName($name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.