You are here

function video_filter_element_info_alter in Video Filter 7.3

Implements hook_element_info_alter().

File

./video_filter.module, line 718

Code

function video_filter_element_info_alter(&$types) {
  if (isset($types['text_format']['#pre_render']) && is_array($types['text_format']['#pre_render'])) {
    if (in_array('ckeditor_pre_render_text_format', $types['text_format']['#pre_render'])) {
      _video_filter_add_settings('ckeditor');
    }
  }
}