function DevelDumperManager::__construct

Same name in other branches
  1. 8.x-1.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::__construct()
  2. 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.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.

File

src/DevelDumperManager.php, line 67

Class

DevelDumperManager
Manager class for DevelDumper.

Namespace

Drupal\devel

Code

public function __construct(ConfigFactoryInterface $config_factory, AccountProxyInterface $account, DevelDumperPluginManagerInterface $dumper_manager, EntityTypeManagerInterface $entityTypeManager, MessengerInterface $messenger, TranslationInterface $string_translation) {
    $this->config = $config_factory->get('devel.settings');
    $this->account = $account;
    $this->dumperManager = $dumper_manager;
    $this->entityTypeManager = $entityTypeManager;
    $this->messenger = $messenger;
    $this->stringTranslation = $string_translation;
}