You are here

public function InspectorCommands::__construct in Configuration Inspector 8

Constructs InspectorCommands object.

Parameters

\Drupal\config_inspector\ConfigInspectorManager $config_inspector_manager: The configuration inspector manager.

\Drupal\Core\Config\StorageInterface $storage: The active configuration storage.

File

src/Commands/InspectorCommands.php, line 38

Class

InspectorCommands
Provides commands for config inspector.

Namespace

Drupal\config_inspector\Commands

Code

public function __construct(ConfigInspectorManager $config_inspector_manager, StorageInterface $storage) {
  parent::__construct();
  $this->inspector = $config_inspector_manager;
  $this->activeStorage = $storage;
}