function views_drush_cache_clear in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 drush/views.drush.inc \views_drush_cache_clear()
- 6.2 views.drush.inc \views_drush_cache_clear()
Adds a cache clear option for views.
Parameters
array $types: The list of cache types that are available.
File
- drush/
views.drush.inc, line 525 - Drush integration for Views.
Code
function views_drush_cache_clear(&$types) {
$types['views'] = 'views_invalidate_cache';
}