You are here

public function Url::getOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::getOptions()

Returns the URL options.

Return value

array

2 calls to Url::getOptions()
Url::toRenderArray in core/lib/Drupal/Core/Url.php
Returns the route information for a render array.
Url::toString in core/lib/Drupal/Core/Url.php
Generates the string URL representation for this Url object.

File

core/lib/Drupal/Core/Url.php, line 642
Contains \Drupal\Core\Url.

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

public function getOptions() {
  return $this->options;
}