You are here

function context_condition_admin_theme_context_registry in Context Condition Admin Theme 7

Implements hook_context_registry().

File

./context_condition_admin_theme.module, line 36
Define plugin and activate.

Code

function context_condition_admin_theme_context_registry() {
  $registry = array();
  $registry['conditions'] = array(
    'admin_theme' => array(
      'title' => t('Admin Theme'),
      'description' => 'Set this context on the basis if the Admin theme is in use',
      'plugin' => 'context_condition_admin_theme',
    ),
  );
  return $registry;
}