function DiskSpaceValidator::temporaryDirectory

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::validate in core/modules/package_manager/src/Validator/DiskSpaceValidator.php
Validates that there is enough free disk space to do stage operations.

File

core/modules/package_manager/src/Validator/DiskSpaceValidator.php, line 143

Class

DiskSpaceValidator
Validates that there is enough free disk space to do stage operations.

Namespace

Drupal\package_manager\Validator

Code

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

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