You are here

function drush_mathjax_post_enable in MathJax: LaTeX for Drupal 7

Same name and namespace in other branches
  1. 6 includes/mathjax.drush.inc \drush_mathjax_post_enable()

Implements drush_MODULE_post_COMMAND().

File

includes/mathjax.drush.inc, line 46
MathJax module drush integration.

Code

function drush_mathjax_post_enable() {
  $modules = func_get_args();
  if (in_array('mathjax', $modules)) {
    drush_mathjax_download();
  }
}