public function RedirectEvent::__construct in Redirect 403 to User Login 2.x
Same name and namespace in other branches
- 8 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\EventCode
public function __construct($url, array $options) {
$this->url = $url;
$this->options = $options;
}