You are here

public function Url::isRouted in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::isRouted()

Indicates if this Url has a Drupal route.

Return value

bool

2 calls to Url::isRouted()
Url::access in core/lib/Drupal/Core/Url.php
Checks this Url object against applicable access check services.
Url::toUriString in core/lib/Drupal/Core/Url.php
Generates a URI string that represents tha data in the Url object.

File

core/lib/Drupal/Core/Url.php, line 561
Contains \Drupal\Core\Url.

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

public function isRouted() {
  return !$this->unrouted;
}