You are here

function custompage_context_registry in Custom Page 7

Same name and namespace in other branches
  1. 6 custompage.module \custompage_context_registry()

Make module compatible with context 3 Implement hook_context_registry().

File

./custompage.module, line 303
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;
}