You are here

function _context_contrib_get_js_injector in Context 6.2

Helper function to generate a list of js_injector files.

1 call to _context_contrib_get_js_injector()
context_contrib_context_reactions in context_contrib/context_contrib.module
Implementation of hook_context_reactions().

File

context_contrib/context_contrib.module, line 217

Code

function _context_contrib_get_js_injector() {
  $list = array();
  foreach (_js_injector_load_rule() as $js_rule) {
    $list[$js_rule['crid']] = $js_rule['title'];
  }
  ksort($list);
  return $list;
}