public function Url::getOptions in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::getOptions()
- 9 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::getOptions()
Returns the URL options.
Return value
array The array of options. See \Drupal\Core\Url::fromUri() for details on what it contains.
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 636
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
public function getOptions() {
return $this->options;
}