You are here

protected function Filesystem::getVendorPath in Automatic Updates 8

Get the vendor file path.

Return value

string The vendor file path.

3 calls to Filesystem::getVendorPath()
DiskSpace::diskSpaceCheck in src/ReadinessChecker/DiskSpace.php
Check if the filesystem has sufficient disk space.
ReadOnlyFilesystem::readOnlyCheck in src/ReadinessChecker/ReadOnlyFilesystem.php
Check if the filesystem is read only.
Vendor::doCheck in src/ReadinessChecker/Vendor.php
Perform checks.

File

src/ReadinessChecker/Filesystem.php, line 75

Class

Filesystem
Base class for filesystem checkers.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

protected function getVendorPath() {
  if (!$this->vendorPath) {
    $this->vendorPath = $this
      ->getRootPath() . DIRECTORY_SEPARATOR . 'vendor';
  }
  return $this->vendorPath;
}