You are here

public function FileStorage::deleteAll in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::deleteAll()
  2. 8.0 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()

Removes all files in this bin.

Overrides PhpStorageInterface::deleteAll

File

core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 212
Contains \Drupal\Component\PhpStorage\FileStorage.

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

public function deleteAll() {
  return $this
    ->unlink($this->directory);
}