public function FeedsQueueExecutable::__construct in Feeds 8.3
Constructs a new FeedsQueueExecutable object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
\Drupal\Core\Session\AccountSwitcherInterface $account_switcher: The account switcher.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\Core\Queue\QueueFactory $queue_factory: The queue factory.
Overrides FeedsExecutable::__construct
File
- src/
FeedsQueueExecutable.php, line 39
Class
- FeedsQueueExecutable
- Import feeds using the queue API.
Namespace
Drupal\feedsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EventDispatcherInterface $event_dispatcher, AccountSwitcherInterface $account_switcher, MessengerInterface $messenger, QueueFactory $queue_factory) {
parent::__construct($entity_type_manager, $event_dispatcher, $account_switcher, $messenger);
$this->queueFactory = $queue_factory;
}