You are here

public function MaestroBatchFunctionTask::__construct in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/EngineTasks/MaestroBatchFunctionTask.php \Drupal\maestro\Plugin\EngineTasks\MaestroBatchFunctionTask::__construct()

Constructor.

Overrides PluginBase::__construct

File

src/Plugin/EngineTasks/MaestroBatchFunctionTask.php, line 33

Class

MaestroBatchFunctionTask
Maestro Batch Function Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

public function __construct($configuration = NULL) {
  if (is_array($configuration)) {
    $this->processID = $configuration[0];
    $this->queueID = $configuration[1];
  }
}