You are here

function hook_modules_enabled in Configuration Management 7

Implements hook_modules_enabled().

File

./configuration.module, line 275
Module file for the configuration module, which enables the capture and management of configuration in Drupal.

Code

function hook_modules_enabled($modules) {

  // When diff module is enabled after this module was enabled
  // it is necessary to flush the menu cache in order to enable
  // the /diff tab.
  if (in_array('diff', $modules)) {
    drupal_flush_all_caches();
  }
}