public function FileReadOnlyStorage::exists in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php \Drupal\Component\PhpStorage\FileReadOnlyStorage::exists()
- 9 core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php \Drupal\Component\PhpStorage\FileReadOnlyStorage::exists()
File
- core/
lib/ Drupal/ Component/ PhpStorage/ FileReadOnlyStorage.php, line 34
Class
- FileReadOnlyStorage
- Reads code as regular PHP files, but won't write them.
Namespace
Drupal\Component\PhpStorageCode
public function exists($name) {
return file_exists($this
->getFullPath($name));
}