You are here

function tokenauth_context_plugins in Token authentication 7

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

Implements hook_context_plugins().

File

./tokenauth.module, line 258

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;
}