function NullFileCache::getMultiple

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::getMultiple()
  2. 10 core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::getMultiple()
  3. 11.x core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::getMultiple()

Gets data based on filenames.

Parameters

string[] $filepaths: List of file paths used as cache identifiers.

Return value

array List of cached data keyed by the passed in file paths.

Overrides FileCacheInterface::getMultiple

File

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

Class

NullFileCache
Null implementation for the file cache.

Namespace

Drupal\Component\FileCache

Code

public function getMultiple(array $filepaths) {
    return [];
}

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