You are here

public function PathLocator::getActiveDirectory in Automatic Updates 8.2

Returns the path of the active directory, which should be updated.

Return value

string The absolute path which should be updated.

File

src/PathLocator.php, line 47

Class

PathLocator
Computes file system paths that are needed for automatic updates.

Namespace

Drupal\automatic_updates

Code

public function getActiveDirectory() : string {
  return $this
    ->getProjectRoot();
}