public function HiddenLanguageManager::__construct in Hidden Language 2.x
Constructor.
File
- src/
HiddenLanguageManager.php, line 37
Class
- HiddenLanguageManager
- Class HiddenLanguageManager.
Namespace
Drupal\hidden_languageCode
public function __construct(ConfigFactory $config_factory, PathValidator $path_validator) {
$this->configFactory = $config_factory;
$this->pathValidator = $path_validator;
$this->hiddenLanguageSettings = $this->configFactory
->getEditable('hidden_language.settings');
}