You are here

public function RulesCommands::__construct in Rules 8.3

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 48

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;
}