function EditorConfigTranslationSubscriber::__construct
Same name in other branches
- 9 core/modules/editor/src/EventSubscriber/EditorConfigTranslationSubscriber.php \Drupal\editor\EventSubscriber\EditorConfigTranslationSubscriber::__construct()
- 10 core/modules/editor/src/EventSubscriber/EditorConfigTranslationSubscriber.php \Drupal\editor\EventSubscriber\EditorConfigTranslationSubscriber::__construct()
- 11.x core/modules/editor/src/EventSubscriber/EditorConfigTranslationSubscriber.php \Drupal\editor\EventSubscriber\EditorConfigTranslationSubscriber::__construct()
EditorConfigTranslationSubscriber constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
File
-
core/
modules/ editor/ src/ EventSubscriber/ EditorConfigTranslationSubscriber.php, line 29
Class
- EditorConfigTranslationSubscriber
- Adds configuration names to configuration mapper on POPULATE_MAPPER event.
Namespace
Drupal\editor\EventSubscriberCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.