You are here

public function ConfigActionsService::__construct in Config Actions 8

Constructs a new ConfigActionsService object.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $plugin_manager: The config_actions plugin manager.

\Drupal\config_actions\ConfigActionsSourceManager $source_manager: The ConfigActionsSourceManager from the container.

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

File

src/ConfigActionsService.php, line 85

Class

ConfigActionsService
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

public function __construct(PluginManagerInterface $plugin_manager, ConfigActionsSourceManager $source_manager, ModuleHandlerInterface $module_handler) {
  $this->pluginManager = $plugin_manager;
  $this->sourceManager = $source_manager;
  $this->moduleHandler = $module_handler;
}