public function ConfigManagerInterface::getEntityTypeIdByName

public ConfigManagerInterface::getEntityTypeIdByName($name)

Returns the entity type of a configuration object.

Parameters

string $name: The configuration object name.

Return value

string|null Either the entity type name, or NULL if none match.

File

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

Class

ConfigManagerInterface
Provides an interface for configuration manager.

Namespace

Drupal\Core\Config

Code

public function getEntityTypeIdByName($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::getEntityTypeIdByName/8.1.x