You are here

protected function DiskSpaceValidator::temporaryDirectory in Automatic Updates 8.2

Returns the path of the system temporary directory.

Return value

string The absolute path of the system temporary directory.

1 call to DiskSpaceValidator::temporaryDirectory()
DiskSpaceValidator::checkDiskSpace in src/Validator/DiskSpaceValidator.php
Checks that there is enough free space to perform automatic updates.

File

src/Validator/DiskSpaceValidator.php, line 159

Class

DiskSpaceValidator
Validates that there is enough free disk space to do automatic updates.

Namespace

Drupal\automatic_updates\Validator

Code

protected function temporaryDirectory() : string {
  return FileSystem::getOsTemporaryDirectory();
}