You are here

function libraries_drush_invalidate_cache in Libraries API 8.3

Same name and namespace in other branches
  1. 7.3 libraries.drush.inc \libraries_drush_invalidate_cache()
  2. 7.2 libraries.drush.inc \libraries_drush_invalidate_cache()

Clears the library cache.

1 string reference to 'libraries_drush_invalidate_cache'
libraries_drush_cache_clear in ./libraries.drush.inc
Implements hook_drush_cache_clear().

File

./libraries.drush.inc, line 58
Drush integration for Libraries API.

Code

function libraries_drush_invalidate_cache() {
  \Drupal::cache('libraries')
    ->deleteAll();
}