You are here

public function UrlBag::getRootDir in Mini site 8

Get root directory.

1 call to UrlBag::getRootDir()
UrlBag::getAlias in src/UrlBag.php
Get alias for the current URL.

File

src/UrlBag.php, line 189

Class

UrlBag
Class UrlBag.

Namespace

Drupal\minisite

Code

public function getRootDir() {
  return static::getUriPart($this
    ->getUri(), self::URI_PART_ROOT_ARCHIVE_DIR);
}