public function CourierTemplateCollection::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Plugin/Action/CourierTemplateCollection.php \Drupal\rng\Plugin\Action\CourierTemplateCollection::__construct()
- 3.x src/Plugin/Action/CourierTemplateCollection.php \Drupal\rng\Plugin\Action\CourierTemplateCollection::__construct()
Constructs a RegistrantBasicEmail 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.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
\Drupal\courier\Service\CourierManagerInterface $courier_manager: The courier manager.
Overrides ConfigurableActionBase::__construct
File
- src/
Plugin/ Action/ CourierTemplateCollection.php, line 64
Class
- CourierTemplateCollection
- Creates a template collection and provides a user interface to its templates.
Namespace
Drupal\rng\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager, EventManagerInterface $event_manager, CourierManagerInterface $courier_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityManager = $entity_manager;
$this->eventManager = $event_manager;
$this->courierManager = $courier_manager;
}