You are here

function drush_photoswipe_post_pm_enable in PhotoSwipe 7.2

Same name and namespace in other branches
  1. 8.2 drush/photoswipe.drush.inc \drush_photoswipe_post_pm_enable()
  2. 8 drush/photoswipe.drush.inc \drush_photoswipe_post_pm_enable()
  3. 3.x drush/photoswipe.drush.inc \drush_photoswipe_post_pm_enable()

Implements drush_MODULE_post_pm_enable().

File

drush/photoswipe.drush.inc, line 47
Drush integration for PhotoSwipe.

Code

function drush_photoswipe_post_pm_enable() {
  $modules = func_get_args();
  if (in_array('photoswipe', $modules)) {
    drush_photoswipe_plugin();
  }
}