You are here

function libraries_drush_invalidate_cache in Libraries API 7.3

Same name and namespace in other branches
  1. 8.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 54
Drush integration for Libraries API.

Code

function libraries_drush_invalidate_cache() {

  // @see drupal_flush_all_caches()
  foreach (libraries_flush_caches() as $table) {
    cache_clear_all('*', $table, TRUE);
  }
}