function MTimeProtectedFileStorage::exists
Same name in other branches
- 9 core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php \Drupal\Component\PhpStorage\MTimeProtectedFileStorage::exists()
- 8.9.x core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php \Drupal\Component\PhpStorage\MTimeProtectedFileStorage::exists()
- 10 core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php \Drupal\Component\PhpStorage\MTimeProtectedFileStorage::exists()
Overrides FileStorage::exists
File
-
core/
lib/ Drupal/ Component/ PhpStorage/ MTimeProtectedFileStorage.php, line 48
Class
- MTimeProtectedFileStorage
- Stores PHP code in files with securely hashed names.
Namespace
Drupal\Component\PhpStorageCode
public function exists($name) {
return $this->checkFile($name) !== FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.