function tinymce_form_alter in TinyMCE 6.2
Same name and namespace in other branches
- 6 tinymce.module \tinymce_form_alter()
Implementation of hook_form_alter()
File
- ./
tinymce.module, line 86 - Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.
Code
function tinymce_form_alter(&$form, &$form_state) {
// disable 'teaser' textarea
unset($form['body_field']['teaser_js']);
$form['body_field']['teaser_include'] = array();
}