You are here

function environment_context_registry in Environment 6

Implementation of hook_context_registry().

File

plugins/environment.context.inc, line 20
Describe context plugins for Environment module.

Code

function environment_context_registry() {
  $registry = array();
  $registry['conditions'] = array(
    'environment' => array(
      'title' => t('Environment'),
      'description' => t('Set this context when viewing a page with the given environment.'),
      'plugin' => 'environment_context_condition',
    ),
  );
  return $registry;
}