You are here

public function S3fsServiceInterface::refreshCache in S3 File System 4.0.x

Same name and namespace in other branches
  1. 8.3 src/S3fsServiceInterface.php \Drupal\s3fs\S3fsServiceInterface::refreshCache()

Refreshes the metadata cache.

Iterates over the full list of objects in the s3fs_root_folder within S3 bucket (or the entire bucket, if no root folder has been set), caching their metadata in the database.

It then caches the ancestor folders for those files, since folders are not normally stored as actual objects in S3.

Parameters

array $config: An s3fs configuration array.

1 method overrides S3fsServiceInterface::refreshCache()
S3fsService::refreshCache in src/S3fsService.php
Refreshes the metadata cache.

File

src/S3fsServiceInterface.php, line 58

Class

S3fsServiceInterface
S3fs service interface.

Namespace

Drupal\s3fs

Code

public function refreshCache(array $config);