You are here

public function RedirectEvent::setUrl 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::setUrl()

Setter for url property.

Parameters

string $url: The url to redirect to.

File

src/Event/RedirectEvent.php, line 57

Class

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

Namespace

Drupal\r4032login\Event

Code

public function setUrl($url) {
  $this->url = $url;
}