function _video_filter_add_settings

cis7 video_filter.module _video_filter_add_settings($editor)
cle7 video_filter.module _video_filter_add_settings($editor)
elmsmedia7 video_filter.module _video_filter_add_settings($editor)
icor7 video_filter.module _video_filter_add_settings($editor)
meedjum_blog7 video_filter.module _video_filter_add_settings($editor)
mooc7 video_filter.module _video_filter_add_settings($editor)
2 calls to _video_filter_add_settings()
video_filter_element_info_alter in sites/all/modules/ulmus/video_filter/video_filter.module
Implements hook_element_info_alter().
video_filter_wysiwyg_plugin in sites/all/modules/ulmus/video_filter/video_filter.module


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


function _video_filter_add_settings($editor) {
  static $editor_settings_added = array();
  static $global_settings_added = FALSE;

  if (!isset($editor_settings_added[$editor])) {
    $editor_settings_added[$editor] = TRUE;

    // Add popup url.
    $settings = array(
      'video_filter' => array('url' => array($editor => url('video_filter/dashboard/' . $editor))),
    drupal_add_js($settings, 'setting');

  if (!$global_settings_added) {
    $global_settings_added = TRUE;

    // Add global settings for video_filter.
    $settings = array(
      'video_filter' => array(
        'modulepath' => drupal_get_path('module', 'video_filter'),
    drupal_add_js($settings, 'setting');



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.