public function EntityIsEventCheck::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Access/EntityIsEventCheck.php \Drupal\rng\Access\EntityIsEventCheck::__construct()
- 3.x src/Access/EntityIsEventCheck.php \Drupal\rng\Access\EntityIsEventCheck::__construct()
Constructs a new EntityIsEventCheck object.
Parameters
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
File
- src/
Access/ EntityIsEventCheck.php, line 31
Class
- EntityIsEventCheck
- Checks that an entity is an event type.
Namespace
Drupal\rng\AccessCode
public function __construct(EventManagerInterface $event_manager) {
$this->eventManager = $event_manager;
}