protected function Filesystem::getRootPath in Automatic Updates 8
Get the root file path.
Return value
string The root file path.
5 calls to Filesystem::getRootPath()
- DiskSpace::diskSpaceCheck in src/
ReadinessChecker/ DiskSpace.php - Check if the filesystem has sufficient disk space.
- FileOwnership::doCheck in src/
ReadinessChecker/ FileOwnership.php - Perform checks.
- Filesystem::getVendorPath in src/
ReadinessChecker/ Filesystem.php - Get the vendor file path.
- Filesystem::run in src/
ReadinessChecker/ Filesystem.php - Run check.
- ReadOnlyFilesystem::readOnlyCheck in src/
ReadinessChecker/ ReadOnlyFilesystem.php - Check if the filesystem is read only.
File
- src/
ReadinessChecker/ Filesystem.php, line 62
Class
- Filesystem
- Base class for filesystem checkers.
Namespace
Drupal\automatic_updates\ReadinessCheckerCode
protected function getRootPath() {
if (!$this->rootPath) {
$this->rootPath = (string) \Drupal::root();
}
return $this->rootPath;
}