function FileCacheBackendInterface::delete
Same name in other branches
- 9 core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php \Drupal\Component\FileCache\FileCacheBackendInterface::delete()
- 8.9.x core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php \Drupal\Component\FileCache\FileCacheBackendInterface::delete()
- 11.x core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php \Drupal\Component\FileCache\FileCacheBackendInterface::delete()
Deletes data from a cache backend.
Parameters
string $cid: The cache ID to delete.
2 methods override FileCacheBackendInterface::delete()
- ApcuFileCacheBackend::delete in core/
lib/ Drupal/ Component/ FileCache/ ApcuFileCacheBackend.php - StaticFileCacheBackend::delete in core/
tests/ Drupal/ Tests/ Component/ FileCache/ StaticFileCacheBackend.php
File
-
core/
lib/ Drupal/ Component/ FileCache/ FileCacheBackendInterface.php, line 37
Class
- FileCacheBackendInterface
- Defines an interface inspired by APCu for FileCache backends.
Namespace
Drupal\Component\FileCacheCode
public function delete($cid);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.