function environment_context_plugins in Environment 6
Implementation of hook_context_plugins().
File
- plugins/
environment.context.inc, line 35 - Describe context plugins for Environment module.
Code
function environment_context_plugins() {
$plugins = array();
$plugins['environment_context_condition'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'environment') . '/plugins',
'file' => 'environment_context_condition.inc',
'class' => 'environment_context_condition',
'parent' => 'context_condition',
),
);
return $plugins;
}