public function MetatagViewsCachePluginManager::clearCachedDefinitions in Metatag 8
Clears static and persistent plugin definition caches.
Don't resort to calling \Drupal::cache()->delete() and friends to make Drupal detect new or updated plugin definitions. Always use this method on the appropriate plugin type's plugin manager!
Overrides CachedDiscoveryInterface::clearCachedDefinitions
File
- metatag_views/
src/ MetatagViewsCachePluginManager.php, line 74
Class
Namespace
Drupal\metatag_viewsCode
public function clearCachedDefinitions() {
$this->viewsPluginManager
->clearCachedDefinitions();
}