You are here

public function EntityShareAsyncWorker::__construct in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 modules/entity_share_async/src/Plugin/QueueWorker/EntityShareAsyncWorker.php \Drupal\entity_share_async\Plugin\QueueWorker\EntityShareAsyncWorker::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

modules/entity_share_async/src/Plugin/QueueWorker/EntityShareAsyncWorker.php, line 51

Class

EntityShareAsyncWorker
Asynchronous import queue worker.

Namespace

Drupal\entity_share_async\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger, ImportServiceInterface $import_service, StateInterface $state_storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->logger = $logger;
  $this->importService = $import_service;
  $this->stateStorage = $state_storage;
}