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