function domaincontext_context_plugins in Domain Context 6
Same name and namespace in other branches
- 7 domaincontext.module \domaincontext_context_plugins()
Implements hook_context_plugins().
File
- ./
domaincontext.module, line 21 - Provides a Domain condition plugin for the Context module.
Code
function domaincontext_context_plugins() {
$plugins = array();
$plugins['domaincontext_context_condition_domain'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'domaincontext') . '/plugins',
'file' => 'domaincontext_context_condition_domain.inc',
'class' => 'domaincontext_context_condition_domain',
'parent' => 'context_condition',
),
);
return $plugins;
}