You are here

public function FileCacheInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/FileCache/FileCacheInterface.php \Drupal\Component\FileCache\FileCacheInterface::delete()

Deletes data from the cache.

Parameters

string $filepath: Path of the file that the cached data is based on.

2 methods override FileCacheInterface::delete()
FileCache::delete in core/lib/Drupal/Component/FileCache/FileCache.php
Deletes data from the cache.
NullFileCache::delete in core/lib/Drupal/Component/FileCache/NullFileCache.php
Deletes data from the cache.

File

core/lib/Drupal/Component/FileCache/FileCacheInterface.php, line 57

Class

FileCacheInterface
Interface for objects that allow caching file data.

Namespace

Drupal\Component\FileCache

Code

public function delete($filepath);