function features_flush_caches in Features 7
Same name and namespace in other branches
- 6 features.module \features_flush_caches()
- 7.2 features.module \features_flush_caches()
Implements hook_flush_caches().
File
- ./
features.module, line 228 - Module file for the features module, which enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together statisfy a certain use-case.
Code
function features_flush_caches() {
features_rebuild();
// Don't flush the modules cache during installation, for performance reasons.
if (variable_get('install_task') != 'done') {
features_get_modules(NULL, TRUE);
}
return array();
}