You are here

function scald_file_scald_wysiwyg_context_list_alter in Scald File Provider 7

Implements hook_scald_wysiwyg_context_list_alter().

File

./scald_file.module, line 15
Scald File is a Scald Atom Provider for Files.

Code

function scald_file_scald_wysiwyg_context_list_alter(&$contexts) {
  drupal_add_js(drupal_get_path('module', 'scald_file') . '/scald_file.js');
  drupal_add_js(array(
    'scaldFile' => array(
      'path' => drupal_get_path('module', 'scald_file') . '/scald_file.css',
    ),
  ), 'setting');
}