function FileCacheInterface::getMultiple

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

2 methods override FileCacheInterface::getMultiple()
FileCache::getMultiple in core/lib/Drupal/Component/FileCache/FileCache.php
Gets data based on filenames.
NullFileCache::getMultiple in core/lib/Drupal/Component/FileCache/NullFileCache.php
Gets data based on filenames.

File

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

Class

FileCacheInterface
Interface for objects that allow caching file data.

Namespace

Drupal\Component\FileCache

Code

public function getMultiple(array $filepaths);

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