You are here

public function JobDownload::__construct in TMGMT Extension Suite 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/QueueWorker/JobDownload.php \Drupal\tmgmt_extension_suit\Plugin\QueueWorker\JobDownload::__construct()

Constructs a new LocaleTranslation object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Queue\QueueInterface $queue: The queue object.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/JobDownload.php, line 52

Class

JobDownload
Executes interface translation queue tasks.

Namespace

Drupal\tmgmt_extension_suit\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, QueueInterface $queue, LoggerInterface $logger) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->queue = $queue;
  $this->logger = $logger;
}