You are here

public function LanguageSwitchLinksAlterEvent::getPath in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Language/LanguageSwitchLinksAlterEvent.php \Drupal\core_event_dispatcher\Event\Language\LanguageSwitchLinksAlterEvent::getPath()

Get the request path.

Return value

\Drupal\Core\Url The link path.

File

modules/core_event_dispatcher/src/Event/Language/LanguageSwitchLinksAlterEvent.php, line 88

Class

LanguageSwitchLinksAlterEvent
Class LanguageSwitchLinksAlterEvent.

Namespace

Drupal\core_event_dispatcher\Event\Language

Code

public function getPath() : Url {
  return $this->path;
}