You are here

function context_reaction_theme_context_registry in Context Reaction: Theme 7

Same name and namespace in other branches
  1. 6.2 context_reaction_theme.module \context_reaction_theme_context_registry()

Implements hook_context_registry().

Registry hook for conditions & reactions.

See also

hook_context_registry()

File

./context_reaction_theme.module, line 88
This module enables a context reaction to alter the active theme.

Code

function context_reaction_theme_context_registry() {
  return array(
    'reactions' => array(
      'active_theme' => array(
        'title' => t('Active theme'),
        'description' => t('Change the active theme.'),
        'plugin' => 'context_reaction_active_theme',
      ),
    ),
  );
}