function contextphp_context_plugins in Context PHP 6
Same name and namespace in other branches
- 7 contextphp.module \contextphp_context_plugins()
Implementation of hook_context_plugins().
File
- ./
contextphp.module, line 26
Code
function contextphp_context_plugins() {
$plugins = array();
$plugins['contextphp_condition_php'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'contextphp') . '/plugins',
'file' => 'contextphp_condition_php.inc',
'class' => 'contextphp_condition_php',
'parent' => 'context_condition',
),
);
$plugins['contextphp_reaction_php'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'contextphp') . '/plugins',
'file' => 'contextphp_reaction_php.inc',
'class' => 'contextphp_reaction_php',
'parent' => 'context_reaction',
),
);
return $plugins;
}