You are here

function drush_patterns_form_helper in Patterns 7

Same name and namespace in other branches
  1. 7.2 patterns.drush.inc \drush_patterns_form_helper()

patterns list command callback.

File

./patterns.drush.inc, line 266
Drush Patterns module commands

Code

function drush_patterns_form_helper($action) {
  if ($action == 'enable') {
    variable_set('patterns_form_helper', TRUE);
  }
  else {
    variable_set('patterns_form_helper', FALSE);
  }
}