function custompage_context_plugins in Custom Page 6
Same name and namespace in other branches
- 7 custompage.module \custompage_context_plugins()
Make module compatible with context 3 Implement hook_context_plugins().
File
- ./
custompage.module, line 279 - Custom Page Module
Code
function custompage_context_plugins() {
$plugins = array();
$plugins['custompage_context_condition_alias'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'custompage') . '/plugins',
'file' => 'custompage_context_condition_alias.inc',
'class' => 'custompage_context_condition_alias',
'parent' => 'context_condition',
),
);
return $plugins;
}