function context_addassets_context_plugins in Context Add Assets 6
Same name and namespace in other branches
- 7 context_addassets.module \context_addassets_context_plugins()
Implements hook_context_plugins().
File
- ./
context_addassets.module, line 119
Code
function context_addassets_context_plugins() {
$plugins = array();
// Theme Assets
// - CSS
$plugins['context_reaction_addcss'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addcss.inc',
'class' => 'context_reaction_addcss',
'parent' => 'context_reaction',
),
);
// - JS
$plugins['context_reaction_addjs'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addjs.inc',
'class' => 'context_reaction_addjs',
'parent' => 'context_reaction',
),
);
// Module Assets
// - CSS
$plugins['context_reaction_addcss_module'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addcss_module.inc',
'class' => 'context_reaction_addcss_module',
'parent' => 'context_reaction',
),
);
// - JS
$plugins['context_reaction_addjs_module'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addjs_module.inc',
'class' => 'context_reaction_addjs_module',
'parent' => 'context_reaction',
),
);
// File Path Assets
// - CSS
$plugins['context_reaction_addcss_path'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addcss_path.inc',
'class' => 'context_reaction_addcss_path',
'parent' => 'context_reaction',
),
);
// - JS
$plugins['context_reaction_addjs_path'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_addassets') . '/plugins',
'file' => 'context_reaction_addjs_path.inc',
'class' => 'context_reaction_addjs_path',
'parent' => 'context_reaction',
),
);
return $plugins;
}