function context_keywords_context_plugins in Context Keywords 7
Same name and namespace in other branches
- 6 context_keywords.module \context_keywords_context_plugins()
Make module compatible with context 3 Implement hook_context_plugins().
File
- ./
context_keywords.module, line 22 - context_keywords.module Adds referral url keyword conditions to Context
Code
function context_keywords_context_plugins() {
$plugins = array();
$plugins['context_condition_keywords'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_keywords'),
'file' => 'context_condition_keywords.inc',
'class' => 'context_condition_keywords',
'parent' => 'context_condition',
),
);
return $plugins;
}