You are here

function environment_context_context_plugins in Environment 7

Implements hook_context_plugins().

File

modules/environment_context/environment_context.module, line 45
Describe context plugins for Environment Context module.

Code

function environment_context_context_plugins() {
  $plugins = array();
  $plugins['environment_context_condition'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'environment_context') . '/plugins',
      'file' => 'environment_context_condition.inc',
      'class' => 'environment_context_condition',
      'parent' => 'context_condition',
    ),
  );
  return $plugins;
}