public function DefaultConfigSerializer::__construct in Acquia Content Hub 8.2
DefaultConfigSerializer constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
File
- src/
EventSubscriber/ SerializeConfig/ DefaultConfigSerializer.php, line 40
Class
- DefaultConfigSerializer
- Serializes default configuration entities.
Namespace
Drupal\acquia_contenthub\EventSubscriber\SerializeConfigCode
public function __construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager) {
$this->configFactory = $config_factory;
$this->languageManager = $language_manager;
}