function _video_filter_add_settings in Video Filter 6.3
Same name and namespace in other branches
- 7.3 video_filter.module \_video_filter_add_settings()
2 calls to _video_filter_add_settings()
- video_filter_form_alter in ./
video_filter.module - Implements hook_form_alter().
- video_filter_wysiwyg_plugin in ./
video_filter.module
File
- ./
video_filter.module, line 220
Code
function _video_filter_add_settings($editor) {
static $editor_settings_added = array();
if (!isset($editor_settings_added[$editor])) {
$editor_settings_added[$editor] = TRUE;
// Add popup url.
$settings = array(
'video_filter' => array(
'url' => array(
$editor => url('admin/video_filter/dashboard/' . $editor),
),
),
);
drupal_add_js($settings, 'setting');
}
}