function video_filter_element_info_alter

cis7 video_filter.module video_filter_element_info_alter(&$types)
cle7 video_filter.module video_filter_element_info_alter(&$types)
elmsmedia7 video_filter.module video_filter_element_info_alter(&$types)
icor7 video_filter.module video_filter_element_info_alter(&$types)
meedjum_blog7 video_filter.module video_filter_element_info_alter(&$types)
mooc7 video_filter.module video_filter_element_info_alter(&$types)

Implements hook_element_info_alter().

File

sites/all/modules/ulmus/video_filter/video_filter.module, line 568
Video filter is a highly flexible and easy extendable filter module to embed any type of video in your site using a simple tag.

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');
    }
  }
}