public function CleanupRevisionsQueueWorker::__construct in Node Revisions Autoclean 8
CleanupRevisionsQueueWorker constructor.
Parameters
array $configuration: Configuration.
string $plugin_id: Pugin id.
mixed $plugin_definition: Plugin definition.
Drupal\node_revisions_autoclean\Services\RevisionsManager $revisionsManager: RevisionsManager.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ CleanupRevisionsQueueWorker.php, line 41
Class
- CleanupRevisionsQueueWorker
- Class NotifyQueueWorker.
Namespace
Drupal\node_revisions_autoclean\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RevisionsManager $revisionsManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->revisionsManager = $revisionsManager;
}