You are here

function custompage_context_plugins in Custom Page 7

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

Make module compatible with context 3 Implement hook_context_plugins().

File

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