public function DomainLangHandler::getDomainConfigName in Domain Lang 8
Get configuration name for this hostname.
Parameters
string $config_name: The name of the config object.
\Drupal\domain\DomainInterface $domain: Domain object.
Return value
string The domain-specific config name.
Overrides DomainLangHandlerInterface::getDomainConfigName
1 call to DomainLangHandler::getDomainConfigName()
- DomainLangHandler::getEditableConfig in src/
DomainLangHandler.php - Returns editable config object by config name.
File
- src/
DomainLangHandler.php, line 113
Class
- DomainLangHandler
- Domain language handling.
Namespace
Drupal\domain_langCode
public function getDomainConfigName($config_name, DomainInterface $domain = NULL) {
$domain = $domain ? $domain : $this
->getDomainFromUrl();
return 'domain.config.' . $domain
->id() . '.' . $config_name;
}