function Url::isExternal
Same name in other branches
- 9 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::isExternal()
- 8.9.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::isExternal()
- 11.x 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 544
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
public function isExternal() {
return $this->external;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.