ConfigEntityStorageInterface::getIDFromConfigName

public static ConfigEntityStorageInterface::getIDFromConfigName($config_name, $config_prefix)

Extracts the configuration entity ID from the full configuration name.

Parameters

string $config_name: The full configuration name to extract the ID from; for example, 'views.view.archive'.

string $config_prefix: The config prefix of the configuration entity; for example, 'views.view'.

Return value

string The ID of the configuration entity.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php, line 24

Class

ConfigEntityStorageInterface
Provides an interface for configuration entity storage.

Namespace

Drupal\Core\Config\Entity

Code

public static function getIDFromConfigName($config_name, $config_prefix);
doc_Drupal
2016-10-29 08:52:58
Comments
Leave a Comment

Please login to continue.