Link::$url

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Link.php \Drupal\Core\Link::url
  2. 10 core/lib/Drupal/Core/Link.php \Drupal\Core\Link::url
  3. 11.x core/lib/Drupal/Core/Link.php \Drupal\Core\Link::url

The URL of the link.

Type: \Drupal\Core\Url

File

core/lib/Drupal/Core/Link.php, line 37

Class

Link
Defines an object that holds information about a link.

Namespace

Drupal\Core

Code

protected $url;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.