You are here

public function ConfigManagerInterface::loadConfigEntityByName in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides ConfigManagerInterface::loadConfigEntityByName()
ConfigManager::loadConfigEntityByName in core/lib/Drupal/Core/Config/ConfigManager.php
Loads a configuration entity using the configuration name.

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);