You are here

function video_filter_form_alter in Video Filter 6.3

Implements hook_form_alter().

File

./video_filter.module, line 30

Code

function video_filter_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") {
          _video_filter_add_settings('ckeditor');
        }
      }
    }
  }
}