function RedirectEventSubscriber::getSubscribedEvents

Registers the methods in this class that should be listeners.

Return value

array An array of event listener definitions.

File

src/EventSubscriber/RedirectEventSubscriber.php, line 37

Class

RedirectEventSubscriber
Changes the response to a redirect, if a redirect rules action was executed .

Namespace

Drupal\rules\EventSubscriber

Code

public static function getSubscribedEvents() {
    $events[KernelEvents::RESPONSE][] = [
        'checkRedirectIssued',
    ];
    return $events;
}