You are here

public function Url::isExternal in Zircon Profile 8

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

Indicates if this Url is external.

Return value

bool

File

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

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

public function isExternal() {
  return $this->external;
}