You are here

function linkit_form_alter in Linkit 6

Implementation of hook_form_alter().

File

./linkit.module, line 107
Main file for linkit module.

Code

function linkit_form_alter(&$form, &$form_state, $form_id) {
  if (isset($form['#after_build'])) {
    if (count($form['#after_build'])) {
      foreach ($form['#after_build'] as $after_build) {
        if ($after_build == "ckeditor_process_form") {
          _linkit_add_settings('ckeditor');
        }
      }
    }
  }
}