function RulesCommands::__construct

RulesCommands constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\Config\CachedStorage $config_storage: The config storage service.

\Drupal\rules\Core\RulesEventManager $rules_event_manager: The rules event manager.

File

src/Commands/RulesCommands.php, line 50

Class

RulesCommands
Drush 9+ commands for the Rules module.

Namespace

Drupal\rules\Commands

Code

public function __construct(ConfigFactoryInterface $config_factory, CachedStorage $config_storage, RulesEventManager $rules_event_manager) {
    parent::__construct();
    $this->configFactory = $config_factory;
    $this->configStorage = $config_storage;
    $this->rulesEventManager = $rules_event_manager;
}