function imce_form_editor_image_dialog_alter in IMCE 8
Same name and namespace in other branches
- 8.2 imce.module \imce_form_editor_image_dialog_alter()
Implements hook_form_FORM_ID_alter() for editor_image_dialog form.
File
- ./
imce.module, line 104 - Defines Drupal hooks for imce module.
Code
function imce_form_editor_image_dialog_alter(&$form, FormStateInterface $form_state, $form_id) {
imce_process_url_element($form['attributes']['src'], 'image');
}