public function UrlBag::getUrl in Mini site 8
Get URL as a relative path.
1 call to UrlBag::getUrl()
- UrlBag::getUrlAbsolute in src/
UrlBag.php - Get URL as an absolute path.
File
- src/
UrlBag.php, line 86
Class
- UrlBag
- Class UrlBag.
Namespace
Drupal\minisiteCode
public function getUrl() {
return file_url_transform_relative(file_create_url($this->uri));
}