function MockPathLocator::getWebRoot

File

core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php, line 60

Class

MockPathLocator
Mock path locator: allows specifying paths instead of discovering paths.

Namespace

Drupal\package_manager_bypass

Code

public function getWebRoot() : string {
    return $this->state
        ->get(static::class . ' web', parent::getWebRoot());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.