Url::$options

Same name in other branches
  1. 9 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::options
  2. 8.9.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::options
  3. 10 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 75

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.