You are here

public function RabbitHoleSubscriber::__construct in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/RabbitHoleSubscriber.php \Drupal\rabbit_hole\EventSubscriber\RabbitHoleSubscriber::__construct()

Constructor.

File

src/EventSubscriber/RabbitHoleSubscriber.php, line 28

Class

RabbitHoleSubscriber
Class EventSubscriber.

Namespace

Drupal\rabbit_hole\EventSubscriber

Code

public function __construct(BehaviorInvoker $rabbit_hole_behavior_invoker) {
  $this->rabbitHoleBehaviorInvoker = $rabbit_hole_behavior_invoker;
}