function FileStorage::getFullPath

Same name in other branches
  1. 9 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::getFullPath()
  2. 8.9.x core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::getFullPath()
  3. 10 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::getFullPath()

Overrides PhpStorageInterface::getFullPath

4 calls to FileStorage::getFullPath()
FileStorage::delete in core/lib/Drupal/Component/PhpStorage/FileStorage.php
Deletes PHP code from storage.
FileStorage::exists in core/lib/Drupal/Component/PhpStorage/FileStorage.php
Checks whether the PHP code exists in storage.
FileStorage::load in core/lib/Drupal/Component/PhpStorage/FileStorage.php
Loads PHP code from storage.
FileStorage::save in core/lib/Drupal/Component/PhpStorage/FileStorage.php
Saves PHP code to storage.
1 method overrides FileStorage::getFullPath()
MTimeProtectedFastFileStorage::getFullPath in core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php
Gets the full path where the file is or should be stored.

File

core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 143

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

public function getFullPath($name) {
    return $this->directory . '/' . $name;
}

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