You are here

function context_addassets_context_registry in Context Add Assets 6

Same name and namespace in other branches
  1. 7 context_addassets.module \context_addassets_context_registry()

Implements hook_context_registry().

File

./context_addassets.module, line 190

Code

function context_addassets_context_registry() {
  $registry = array();
  $registry['reactions'] = array(
    // theme
    'css' => array(
      'plugin' => 'context_reaction_addcss',
    ),
    'js' => array(
      'plugin' => 'context_reaction_addjs',
    ),
    // module
    'css_module' => array(
      'plugin' => 'context_reaction_addcss_module',
    ),
    'js_module' => array(
      'plugin' => 'context_reaction_addjs_module',
    ),
    // file path
    'css_path' => array(
      'plugin' => 'context_reaction_addcss_path',
    ),
    'js_path' => array(
      'plugin' => 'context_reaction_addjs_path',
    ),
  );
  return $registry;
}