You are here

public function ExternalHreflangGetCurrentUrlEvent::getCurrentUrl in External Hreflang 8

Get the current url object.

Return value

\Drupal\Core\Url URL object.

File

src/Event/ExternalHreflangGetCurrentUrlEvent.php, line 30

Class

ExternalHreflangGetCurrentUrlEvent
Class to get Current Url.

Namespace

Drupal\external_hreflang\Event

Code

public function getCurrentUrl() {
  return $this->url;
}