public function EventMeta::__construct in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventMeta.php \Drupal\rng\EventMeta::__construct()
- 8 src/EventMeta.php \Drupal\rng\EventMeta::__construct()
Constructs a new EventMeta object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
EntityTypeBundleInfoInterface $bundle_info: The bundle info.
\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 116
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function __construct(EntityTypeManagerInterface $entity_manager, EntityTypeBundleInfoInterface $bundle_info, 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->bundleInfo = $bundle_info;
$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;
}