You are here

protected function ConfigSplitCliService::getPluginIdFromConfigName in Configuration Split 8

Get the plugin id of a split filter from a config name.

Parameters

string $name: The config name.

Return value

string The plugin id.

2 calls to ConfigSplitCliService::getPluginIdFromConfigName()
ConfigSplitCliService::ioExport in src/ConfigSplitCliService.php
Handle the export interaction.
ConfigSplitCliService::ioImport in src/ConfigSplitCliService.php
Handle the import interaction.

File

src/ConfigSplitCliService.php, line 376

Class

ConfigSplitCliService
The CLI service class for interoperability.

Namespace

Drupal\config_split

Code

protected function getPluginIdFromConfigName($name) {
  return 'config_split:' . str_replace('config_split.config_split.', '', $name);
}