public function ThemePreprocess::addCacheTags in Image Lazyloader 8
Adds the cache tags.
Parameters
array $vars: The variables.
Return value
array The input array with cache tags.
File
- src/
ThemePreprocess.php, line 57
Class
- ThemePreprocess
- Class ThemePreprocess.
Namespace
Drupal\lazyloaderCode
public function addCacheTags(array $vars) {
$vars['#cache']['tags'][] = 'config:lazyloader.configuration';
return $vars;
}