You are here

public static function CacheCommands::clearLibraries in Helper 8

Clears the libraries (and CSS/JS) cache.

File

src/Commands/CacheCommands.php, line 29

Class

CacheCommands
Drush commands for clearing caches.

Namespace

Drupal\helper\Commands

Code

public static function clearLibraries() {
  Cache::invalidateTags([
    'library_info',
  ]);
  DrushCacheCommands::clearCssJs();
}