public function EntityShareAsyncWorker::__construct in Entity Share 8.2
Same name and namespace in other branches
- 8.3 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 77
Class
- EntityShareAsyncWorker
- Asynchronous import queue worker.
Namespace
Drupal\entity_share_async\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerChannelFactoryInterface $logger_channel_factory, EntityTypeManagerInterface $entity_type_manager, RemoteManagerInterface $remote_manager, JsonapiHelperInterface $jsonapi_helper, RequestServiceInterface $request, StateInterface $state_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->loggerChannelFactory = $logger_channel_factory;
$this->entityTypeManager = $entity_type_manager;
$this->remoteManager = $remote_manager;
$this->jsonapiHelper = $jsonapi_helper;
$this->request = $request;
$this->stateStorage = $state_storage;
}