public Url::setAbsolute($absolute = TRUE)
Sets the value of the absolute option for this Url.
bool $absolute: (optional) Whether to make this Url absolute or not. Defaults to TRUE.
$this
public function setAbsolute($absolute = TRUE) { $this->options['absolute'] = $absolute; 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::setAbsolute/8.1.x