You are here

function n1ed_form_alter in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Implemnetation of hook_form_alter

File

./n1ed.module, line 57

Code

function n1ed_form_alter(&$form, &$form_state, $form_id) {
  if ($form_id == "article_node_form") {
    $form['body'][LANGUAGE_NONE][0]['summary']['#attributes']['data-disable-n1ed'] = 'true';
  }
}