function FileCacheInterface::delete

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/FileCache/FileCacheInterface.php \Drupal\Component\FileCache\FileCacheInterface::delete()
  2. 10 core/lib/Drupal/Component/FileCache/FileCacheInterface.php \Drupal\Component\FileCache\FileCacheInterface::delete()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.