Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Url.php

function Url::getOptions

Returns the URL options.

Return value

array The array of options. See \Drupal\Core\Url::fromUri() for details on what it contains.

1 call to Url::getOptions()
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 640

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

public function getOptions() {
    return $this->options;
}
RSS feed
Powered by Drupal