public function QueueWorkerLockedBase::__construct in TMGMT Extension Suite 8.3
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\Lock\LockBackendInterface $lock: Lock service.
\Psr\Log\LoggerInterface $logger: Logger.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ QueueWorkerLockedBase.php, line 50
Class
- QueueWorkerLockedBase
- Class QueueWorkerLockedBase.
Namespace
Drupal\tmgmt_extension_suit\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, LockBackendInterface $lock, LoggerInterface $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->logger = $logger;
$this->lock = $lock;
}