LocaleConfigSubscriber::__construct

public LocaleConfigSubscriber::__construct(ConfigFactoryInterface $config_factory, LocaleConfigManager $locale_config_manager)

Constructs a LocaleConfigSubscriber.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Drupal\locale\LocaleConfigManager $locale_config_manager: The typed configuration manager.

File

core/modules/locale/src/LocaleConfigSubscriber.php, line 57

Class

LocaleConfigSubscriber
Updates strings translation when configuration translations change.

Namespace

Drupal\locale

Code

public function __construct(ConfigFactoryInterface $config_factory, LocaleConfigManager $locale_config_manager) {
  $this->configFactory = $config_factory;
  $this->localeConfigManager = $locale_config_manager;
}
doc_Drupal
2016-10-29 09:23:58
Comments
Leave a Comment

Please login to continue.