This is a simple module that adds the same functions used by Drush to truncate CiviCRM's cache tables and clear files from template_c when Drupal's hook_flush_caches is called. Similar to CiviCRM Cron, the goal is to trigger the CiviCRM functions when the same function is called in Drupal. CiviCRM Clear All Caches will clear the CiviCRM caches when the Clear All Caches button is clicked in Administer > Development > Performance in the Drupal UI, when using drush cc, or when Pantheon users click the Clear Caches button in the Pantheon dashboard.

Project Information