You are here

protected function RedirectSubscriber::getDestination in Data Policy 8

Get the redirect destination.

Return value

\Drupal\Core\Routing\RedirectDestinationInterface The redirect destination.

1 call to RedirectSubscriber::getDestination()
RedirectSubscriber::doRedirect in src/RedirectSubscriber.php
Do redirect to the agreement page.

File

src/RedirectSubscriber.php, line 328

Class

RedirectSubscriber
Class RedirectSubscriber.

Namespace

Drupal\data_policy

Code

protected function getDestination() : RedirectDestinationInterface {
  return $this->destination;
}