You are here

function tokenauth_context_plugins in Token authentication 6

Same name and namespace in other branches
  1. 7 tokenauth.module \tokenauth_context_plugins()

Implementation of hook_context_plugins().

File

./tokenauth.module, line 234

Code

function tokenauth_context_plugins() {
  $plugins = array();
  $plugins['tokenauth_context_condition_tokenauth'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'tokenauth') . '/plugins',
      'file' => 'tokenauth_context_condition_tokenauth.inc',
      'class' => 'tokenauth_context_condition_tokenauth',
      'parent' => 'context_condition',
    ),
  );
  return $plugins;
}