You are here

public static function ConfigEntityStorageInterface::getIDFromConfigName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php \Drupal\Core\Config\Entity\ConfigEntityStorageInterface::getIDFromConfigName()

Extracts the configuration entity ID from the full configuration name.

Parameters

string $config_name: The full configuration name to extract the ID from. E.g. 'views.view.archive'.

string $config_prefix: The config prefix of the configuration entity. E.g. 'views.view'

Return value

string The ID of the configuration entity.

1 method overrides ConfigEntityStorageInterface::getIDFromConfigName()
ConfigEntityStorage::getIDFromConfigName in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Extracts the configuration entity ID from the full configuration name.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php, line 29
Contains \Drupal\Core\Config\Entity\ConfigEntityStorageInterface.

Class

ConfigEntityStorageInterface
Provides an interface for configuration entity storage.

Namespace

Drupal\Core\Config\Entity

Code

public static function getIDFromConfigName($config_name, $config_prefix);