You are here

function _context_contrib_get_css_injector in Context 6.2

Same name and namespace in other branches
  1. 6 context_contrib/context_contrib.module \_context_contrib_get_css_injector()

Helper function to generate a list of css_injector files.

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

File

context_contrib/context_contrib.module, line 181

Code

function _context_contrib_get_css_injector() {
  $list = array();
  foreach (_css_injector_load_rule() as $css_rule) {
    $list[$css_rule['crid']] = $css_rule['title'];
  }
  ksort($list);
  return $list;
}