You are here

function cloze_form_alter in Cloze 6

Same name and namespace in other branches
  1. 7 cloze.module \cloze_form_alter()

Implementation of hook_form_alter()

File

./cloze.module, line 51

Code

function cloze_form_alter(&$form, &$form_state, $form_id) {
  if (isset($form['type']) && isset($form['#node']) && 'cloze_node_form' == $form_id) {
    $form['body_field']['format'] = NULL;
  }
}