Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Url.php
function Url::isExternal
Indicates if this URL is external.
Return value
bool
File
core/
lib/
Drupal/
Core/
Url.php
, line 548
Class
Url
Defines an object that holds information about a URL.
Namespace
Drupal\Core
Code
public
function
isExternal
() {
return
$this
->
external
; }
RSS feed