You are here

function cloze_node_form_after_build in Cloze 7

1 string reference to 'cloze_node_form_after_build'
cloze_form_alter in ./cloze.module
Implementation of hook_form_alter()

File

./cloze.module, line 58

Code

function cloze_node_form_after_build($form) {

  // To prevent wysiwyg editor messing with question syntax
  $form['body'][LANGUAGE_NONE]['0']['format']['#access'] = FALSE;
  return $form;
}