You are here

function tokenauth_context_context_registry in Token authentication 6.2

Implementation of hook_context_registry().

File

modules/tokenauth_context/tokenauth_context.module, line 29
Code for the Token Authentication Context Integration module.

Code

function tokenauth_context_context_registry() {
  $registry = array();
  $registry['conditions'] = array(
    'tokenauth_auth' => array(
      'title' => t('Token Authentication'),
      'description' => t('Set this context based on whether or not the user is logged in via the Token Authentication module.'),
      'plugin' => 'tokenauth_context_condition_tokenauth',
    ),
  );
  return $registry;
}