You are here

function imce_form_editor_link_dialog_alter in IMCE 8

Same name and namespace in other branches
  1. 8.2 imce.module \imce_form_editor_link_dialog_alter()

Implements hook_form_FORM_ID_alter() for editor_link_dialog form.

File

./imce.module, line 97
Defines Drupal hooks for imce module.

Code

function imce_form_editor_link_dialog_alter(&$form, FormStateInterface $form_state, $form_id) {
  imce_process_url_element($form['attributes']['href'], 'link');
}