You are here

public function UrlBag::getAliasAbsolute in Mini site 8

Get absolute alias path.

Return value

string|null Absolute alias path or NULL if parent alias was not set.

File

src/UrlBag.php, line 114

Class

UrlBag
Class UrlBag.

Namespace

Drupal\minisite

Code

public function getAliasAbsolute() {
  $alias = $this
    ->getAlias();
  return $alias ? static::toAbsolute($alias, $this->baseUrl) : NULL;
}