function supersized_context_context_plugins in Supersized 8
Same name and namespace in other branches
- 7 supersized_context/supersized_context.module \supersized_context_context_plugins()
Implements hook_context_plugins().
File
- supersized_context/
supersized_context.module, line 11 - Supersized context module file.
Code
function supersized_context_context_plugins() {
$plugins = array();
$plugins['supersized_context_condition'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'supersized_context'),
'file' => 'supersized_context_condition.inc',
'class' => 'supersized_context_condition',
'parent' => 'context_condition',
),
);
$plugins['supersized_context_reaction'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'supersized_context'),
'file' => 'supersized_context_reaction.inc',
'class' => 'supersized_context_reaction',
'parent' => 'context_reaction',
),
);
$plugins['supersized_context_disable_reaction'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'supersized_context'),
'file' => 'supersized_context_disable_reaction.inc',
'class' => 'supersized_context_disable_reaction',
'parent' => 'context_reaction',
),
);
return $plugins;
}