function editor_ckeditor_form_filter_format_editor_image_form_alter in Editor 7
Implements hook_form_FORM_ID_alter().
Manipulate the image insert form to describe CKEditor-integration.
File
- modules/
editor_ckeditor/ editor_ckeditor.module, line 234 - Adds CKEditor as a supported editor.
Code
function editor_ckeditor_form_filter_format_editor_image_form_alter(&$form, $form_state) {
$format = $form_state['format'];
if ($format->editor === 'ckeditor') {
$form['caption']['#description'] = t('If checked, a caption area will appear in the editor.');
}
}