You are here

function patterns_form_alter in Patterns 5

Same name and namespace in other branches
  1. 6.2 patterns.module \patterns_form_alter()
  2. 6 patterns.module \patterns_form_alter()

File

./patterns.module, line 1245
Enables extremely simple adding/removing features to your site with minimal to no configuration

Code

function patterns_form_alter($form_id, &$form) {
  if (user_access('administer patterns') && variable_get('patterns_form_helper', true)) {
    $form['#after_build'][] = 'patterns_form_helper';
  }
}