You are here

public function EventMeta::__construct in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/EventMeta.php \Drupal\rng\EventMeta::__construct()
  2. 3.x src/EventMeta.php \Drupal\rng\EventMeta::__construct()

Constructs a new EventMeta object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface $selection_plugin_manager: The selection plugin manager.

\Drupal\courier\Service\IdentityChannelManagerInterface $identity_channel_manager: The identity channel manager.

\Drupal\rng\RngConfigurationInterface $rng_configuration: The RNG configuration service.

\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.

\Drupal\courier\Service\CourierManagerInterface $courier_manager: The courier manager.

\Drupal\Core\Action\ActionManager $action_manager: The action manager.

\Drupal\Core\Entity\EntityInterface $entity: The event entity.

File

src/EventMeta.php, line 108

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

public function __construct(EntityManagerInterface $entity_manager, ConfigFactoryInterface $config_factory, SelectionPluginManagerInterface $selection_plugin_manager, IdentityChannelManagerInterface $identity_channel_manager, RngConfigurationInterface $rng_configuration, EventManagerInterface $event_manager, CourierManagerInterface $courier_manager, ActionManager $action_manager, EntityInterface $entity) {
  $this->entityManager = $entity_manager;
  $this->configFactory = $config_factory;
  $this->selectionPluginManager = $selection_plugin_manager;
  $this->identityChannelManager = $identity_channel_manager;
  $this->rngConfiguration = $rng_configuration;
  $this->eventManager = $event_manager;
  $this->courier_manager = $courier_manager;
  $this->action_manager = $action_manager;
  $this->entity = $entity;
}