function custompage_context_registry in Custom Page 6
Same name and namespace in other branches
- 7 custompage.module \custompage_context_registry()
Make module compatible with context 3 Implement hook_context_registry().
File
- ./
custompage.module, line 297 - Custom Page Module
Code
function custompage_context_registry() {
$registry['conditions'] = array(
'custompage' => array(
'title' => t('Custompage'),
'description' => t('Set condition on visiting a custom page URL.'),
'plugin' => 'custompage_context_condition_alias',
),
);
return $registry;
}