public function FeedsExecutable::__construct in Feeds 8.3
Constructs a new FeedsExecutable 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.
1 call to FeedsExecutable::__construct()
- FeedsQueueExecutable::__construct in src/
FeedsQueueExecutable.php - Constructs a new FeedsQueueExecutable object.
1 method overrides FeedsExecutable::__construct()
- FeedsQueueExecutable::__construct in src/
FeedsQueueExecutable.php - Constructs a new FeedsQueueExecutable object.
File
- src/
FeedsExecutable.php, line 70
Class
- FeedsExecutable
- Defines a feeds executable class.
Namespace
Drupal\feedsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EventDispatcherInterface $event_dispatcher, AccountSwitcherInterface $account_switcher, MessengerInterface $messenger) {
$this
->setEventDispatcher($event_dispatcher);
$this->accountSwitcher = $account_switcher;
$this->entityTypeManager = $entity_type_manager;
$this->messenger = $messenger;
}