You are here

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

Same name and namespace in other branches
  1. 8 src/RngEntityAccess.php \Drupal\rng\RngEntityAccess::__construct()
  2. 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\rng

Code

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