You are here

public function RedirectEvent::__construct in Redirect 403 to User Login 8

Same name and namespace in other branches
  1. 2.x src/Event/RedirectEvent.php \Drupal\r4032login\Event\RedirectEvent::__construct()

Constructs the object.

Parameters

string $url: The redirect url.

array $options: The redirect options.

File

src/Event/RedirectEvent.php, line 36

Class

RedirectEvent
Event that is fired just before the redirection is perform.

Namespace

Drupal\r4032login\Event

Code

public function __construct($url, array $options) {
  $this->url = $url;
  $this->options = $options;
}