Url::$options

Same name in other branches
  1. 9 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::options
  2. 10 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::options
  3. 11.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::options

The URL options.

See \Drupal\Core\Url::fromUri() for details on the options.

Type: array

File

core/lib/Drupal/Core/Url.php, line 72

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

protected $options = [];

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