You are here

function drush_jssor_pre_pm_enable in Jssor Slider 8

Implementation of drush_hook_pre_pm_enable().

File

./jssor.drush.php, line 92
Drush integration for the jssor module.

Code

function drush_jssor_pre_pm_enable() {
  $modules = drush_get_context('PM_ENABLE_MODULES');
  if (in_array('jssor', $modules) && !drush_get_option('skip')) {
    drush_jssor_dl_jssor();
  }
}