public function DevelDumperManager::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::__construct()
- 8.2 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::__construct()
- 4.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::__construct()
Constructs a DevelDumperPluginManager object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Core\Session\AccountProxyInterface $account: The current account.
\Drupal\devel\DevelDumperPluginManagerInterface $dumper_manager: The devel dumper plugin manager.
File
- src/
DevelDumperManager.php, line 47
Class
- DevelDumperManager
- Class DevelDumperManager.
Namespace
Drupal\develCode
public function __construct(ConfigFactoryInterface $config_factory, AccountProxyInterface $account, DevelDumperPluginManagerInterface $dumper_manager) {
$this->config = $config_factory
->get('devel.settings');
$this->account = $account;
$this->dumperManager = $dumper_manager;
}