You are here

public function RngEntityAccess::__construct in RNG - Events and Registrations 3.x

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