W3cubDocs

/Drupal 8

public function ConfigManagerInterface::loadConfigEntityByName

public ConfigManagerInterface::loadConfigEntityByName($name)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigManagerInterface.php/function/ConfigManagerInterface::loadConfigEntityByName/8.1.x