function drush_modernizr_post_pm_enable in Modernizr 8
Implements drush_MODULE_post_COMMAND().
File
- drush/
modernizr.drush.inc, line 122 - drush integration for modernizr.
Code
function drush_modernizr_post_pm_enable() {
$extensions = func_get_args();
// Deal with comma delimited extension list.
if (strpos($extensions[0], ',') !== FALSE) {
$extensions = explode(',', $extensions[0]);
}
if (in_array('modernizr', $extensions) && !drush_get_option('skip')) {
_modernizr_drush_download_dev();
}
}