public function Url::isExternal in Drupal 8
Same name and namespace in other branches
- 9 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 541
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
public function isExternal() {
return $this->external;
}