You are here

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

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

Constructs a new EventRuleResetCheck object.

Parameters

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

File

src/Access/EventRuleResetCheck.php, line 31

Class

EventRuleResetCheck
Checks that an entity is an event type.

Namespace

Drupal\rng\Access

Code

public function __construct(EventManagerInterface $event_manager) {
  $this->eventManager = $event_manager;
}