public Url::setAbsolute($absolute = TRUE)
Sets the value of the absolute option for this Url.
Parameters
bool $absolute: (optional) Whether to make this Url absolute or not. Defaults to TRUE.
Return value
$this
File
- core/lib/Drupal/Core/Url.php, line 704
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\Core
Code
public function setAbsolute($absolute = TRUE) { $this->options['absolute'] = $absolute; return $this; }
Please login to continue.