You are here

function supersized_context_context_registry in Supersized 7

Same name and namespace in other branches
  1. 8 supersized_context/supersized_context.module \supersized_context_context_registry()

Implements hook_context_registry().

File

supersized_context/supersized_context.module, line 43
Supersized context module file.

Code

function supersized_context_context_registry() {
  $registry['conditions'] = array(
    'supersized_context' => array(
      'title' => t('Supersized'),
      'plugin' => 'supersized_context_condition',
    ),
  );
  $registry['reactions'] = array(
    'supersized_context' => array(
      'title' => t('Supersized'),
      'plugin' => 'supersized_context_reaction',
    ),
    'supersized_disable_context' => array(
      'title' => t('Supersized (Disable)'),
      'plugin' => 'supersized_context_disable_reaction',
    ),
  );
  return $registry;
}