You are here

public function FileCacheBackendInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 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
Deletes data from a cache backend.
StaticFileCacheBackend::delete in core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php
Deletes data from a cache backend.

File

core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php, line 37

Class

FileCacheBackendInterface
Defines an interface inspired by APCu for FileCache backends.

Namespace

Drupal\Component\FileCache

Code

public function delete($cid);