You are here

protected function DomainLangHandler::getEditableConfig in Domain Lang 8

Returns editable config object by config name.

Parameters

string $config_name: The name of the config object.

Return value

\Drupal\Core\Config\Config Editable config object.

1 call to DomainLangHandler::getEditableConfig()
DomainLangHandler::getLanguageTypesConfig in src/DomainLangHandler.php
Returns mutable configuration object for language types.

File

src/DomainLangHandler.php, line 106

Class

DomainLangHandler
Domain language handling.

Namespace

Drupal\domain_lang

Code

protected function getEditableConfig($config_name) {
  return $this->configFactory
    ->getEditable($this
    ->getDomainConfigName($config_name));
}