You are here

public function JobCheckStatus::__construct in TMGMT Extension Suite 8.2

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

Constructs a new LocaleTranslation object.

@internal param \Drupal\Core\Queue\QueueInterface $queue The queue object.* The queue 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\tmgmt_extension_suit\Utils\UniqueQueueItem $unique_queue_item:

\Psr\Log\LoggerInterface $logger:

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/JobCheckStatus.php, line 51

Class

JobCheckStatus
Executes interface translation queue tasks.

Namespace

Drupal\tmgmt_extension_suit\Plugin\QueueWorker

Code

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