You are here

function development_environment_enable in Development Environment 7

Implements hook_enable().

File

./development_environment.install, line 11
Holds installation hooks for the Development Environment module.

Code

function development_environment_enable() {
  $useful_modules = array(
    'simpletest',
    'coder',
    'coder_review',
    'diff',
    'xhprof',
  );
  foreach ($useful_modules as $module) {
    if (module_exists($module)) {
      module_enable($module);
    }
  }
}