function context_http_headers_context_plugins in Context HTTP Headers 7
Implements hook_context_plugins().
Make module compatible with context 3
File
- ./
context_http_headers.module, line 100 - Adds HTTP Header reaction to Context
Code
function context_http_headers_context_plugins() {
$plugins = array();
$plugins['context_reaction_http_header'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_http_headers'),
'file' => 'context_reaction_http_header.inc',
'class' => 'context_reaction_http_header',
'parent' => 'context_reaction',
),
);
return $plugins;
}