You are here

public function ConfigBit::__construct in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.8

Same name and namespace in other branches
  1. 9.0.x src/Config/ConfigBit.php \Drupal\varbase\Config\ConfigBit::__construct()

ConfigBit construct.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Database\Connection $database: The database connection to be used.

\Drupal\Core\Plugin\CachedDiscoveryClearerInterface $plugin_cache_clearer: A plugin cache clear instance.

File

src/Config/ConfigBit.php, line 78

Class

ConfigBit
Class ConfigBit.

Namespace

Drupal\varbase\Config

Code

public function __construct(ConfigFactoryInterface $config_factory, ConfigManagerInterface $config_manager, ModuleHandlerInterface $module_handler, Connection $database, CachedDiscoveryClearerInterface $plugin_cache_clearer) {
  $this->configFactory = $config_factory;
  $this->configManager = $config_manager;
  $this->moduleHandler = $module_handler;
  $this->database = $database;
  $this->pluginCacheClearer = $plugin_cache_clearer;
}