You are here

public function RedirectSubscriber::requestRedirect in Url Redirect 8.2

Same name and namespace in other branches
  1. 8 src/EventSubscriber/RedirectSubscriber.php \Drupal\url_redirect\EventSubscriber\RedirectSubscriber::requestRedirect()

Perform redirect for http request.

Parameters

GetResponseEvent $event:

File

src/EventSubscriber/RedirectSubscriber.php, line 117

Class

RedirectSubscriber

Namespace

Drupal\url_redirect\EventSubscriber

Code

public function requestRedirect(GetResponseEvent $event) {
  $this
    ->doRedirect($event);
}