public function Config::__construct in Helper 8
Config constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.
\Psr\Log\LoggerInterface $logger: The logger.
\Drupal\Core\File\FileSystemInterface $file_system: The file system.
File
- src/
Config.php, line 58
Class
- Config
- Provides helper for working with configuration.
Namespace
Drupal\helperCode
public function __construct(ConfigFactoryInterface $config_factory, ConfigManagerInterface $config_manager, LoggerInterface $logger, FileSystemInterface $file_system) {
$this->configFactory = $config_factory;
$this->configManager = $config_manager;
$this->logger = $logger;
$this->fileSystem = $file_system;
}