You are here

public function MaestroContentTypeTask::__construct in Maestro 3.x

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

Constructor.

Overrides PluginBase::__construct

File

src/Plugin/EngineTasks/MaestroContentTypeTask.php, line 32

Class

MaestroContentTypeTask
Maestro Content Type 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];
  }
}