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