You are here

function js_injector_rule_load in JS injector 7.2

Same name and namespace in other branches
  1. 8 js_injector.module \js_injector_rule_load()

Implements 'load callback' for js_injector_rule exportables.

File

./js_injector.module, line 54
js_injector.module

Code

function js_injector_rule_load($name) {
  ctools_include('export');
  $result = ctools_export_load_object('js_injector_rule', 'names', array(
    $name,
  ));
  if (isset($result[$name])) {
    return $result[$name];
  }
}