You are here

function features_flush_caches in Features 6

Same name and namespace in other branches
  1. 7.2 features.module \features_flush_caches()
  2. 7 features.module \features_flush_caches()

Implementation of hook_flush_caches().

File

./features.module, line 207
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();
  features_get_modules(NULL, TRUE);
  return array();
}