function FileReadOnlyStorage::getFullPath

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

Overrides PhpStorageInterface::getFullPath

2 calls to FileReadOnlyStorage::getFullPath()
FileReadOnlyStorage::exists in core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
Checks whether the PHP code exists in storage.
FileReadOnlyStorage::load in core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
Loads PHP code from storage.

File

core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 64

Class

FileReadOnlyStorage
Reads code as regular PHP files, but won't write them.

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.