public function ContentHubExportQueueBase::__construct in Acquia Content Hub 8
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
- src/
Plugin/ QueueWorker/ ContentHubExportQueueBase.php, line 70
Class
- ContentHubExportQueueBase
- Provides base functionality for the Content Hub Export Queue.
Namespace
Drupal\acquia_contenthub\Plugin\QueueWorkerCode
public function __construct(EntityManager $entity_manager, ContentHubEntityExportController $acquia_contenthub_export_controller, ContentHubExportQueueController $export_queue_controller, ContentEntityCdfNormalizer $cdf_normalizer, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_channel_factory) {
$this->entityManager = $entity_manager;
$this->exportController = $acquia_contenthub_export_controller;
$this->exportQueueController = $export_queue_controller;
$this->cdfNormalizer = $cdf_normalizer;
$this->entityTypeManager = $entity_type_manager;
$this->loggerFactory = $logger_channel_factory;
}