public function FileStorage::deleteAll in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::deleteAll()
- 10 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()
- 9 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()
File
- core/
lib/ Drupal/ Component/ PhpStorage/ FileStorage.php, line 157
Class
- FileStorage
- Stores the code as regular PHP files.
Namespace
Drupal\Component\PhpStorageCode
public function deleteAll() {
return $this
->unlink($this->directory);
}