You are here

function domaincontext_context_plugins in Domain Context 7

Same name and namespace in other branches
  1. 6 domaincontext.module \domaincontext_context_plugins()

Implements hook_context_plugins().

File

./domaincontext.module, line 20
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;
}