public Url::setOptions($options)
Sets the URL options.
array $options: The array of options. See \Drupal\Core\Url::fromUri() for details on what it contains.
$this
public function setOptions($options) { $this->options = $options; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Url.php/function/Url::setOptions/8.1.x