You are here

public function MetatagViewsCachePluginManager::useCaches in Metatag 8

Disable the use of caches.

Can be used to ensure that uncached plugin definitions are returned, without invalidating all cached information.

This will also remove all local/static caches.

Parameters

bool $use_caches: FALSE to not use any caches.

Overrides CachedDiscoveryInterface::useCaches

File

metatag_views/src/MetatagViewsCachePluginManager.php, line 81

Class

MetatagViewsCachePluginManager

Namespace

Drupal\metatag_views

Code

public function useCaches($use_caches = FALSE) {
  $this->viewsPluginManager
    ->useCaches($use_caches);
}