You are here

function drush_badbehavior_post_pm_enable in Bad Behavior 6

Same name and namespace in other branches
  1. 6.2 badbehavior.drush.inc \drush_badbehavior_post_pm_enable()
  2. 7.2 badbehavior.drush.inc \drush_badbehavior_post_pm_enable()

Implements drush_MODULE_post_COMMAND().

File

./badbehavior.drush.inc, line 37
Drush integration for the badbehavior module.

Code

function drush_badbehavior_post_pm_enable() {
  $modules = func_get_args();
  if (in_array('badbehavior', $modules)) {
    drush_badbehavior_dl();
  }
}