public function ScheduledRuleProcessor::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Plugin/QueueWorker/ScheduledRuleProcessor.php \Drupal\rng\Plugin\QueueWorker\ScheduledRuleProcessor::__construct()
- 3.x src/Plugin/QueueWorker/ScheduledRuleProcessor.php \Drupal\rng\Plugin\QueueWorker\ScheduledRuleProcessor::__construct()
Constructs a ScheduledRuleProcessor object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ ScheduledRuleProcessor.php, line 41
Class
- ScheduledRuleProcessor
- Triggers scheduled rules.
Namespace
Drupal\rng\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EventManagerInterface $event_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->eventManager = $event_manager;
}