function context_og_context_registry in Context OG 6.3
Same name and namespace in other branches
- 7.2 context_og.module \context_og_context_registry()
- 7 context_og.module \context_og_context_registry()
Implementation of hook_context_registry().
File
- ./
context_og.module, line 49
Code
function context_og_context_registry() {
return array(
'conditions' => array(
'context_og_condition_group_node' => array(
'title' => t('OG - group node context'),
'description' => t("Set this context when viewing a node or other page that is in any of the selected groups."),
'plugin' => 'context_og_condition_group_node',
),
'context_og_condition_group_type' => array(
'title' => t('OG - group type context'),
'description' => t("Set this context when viewing a node or other page that is in any group of the selected types. Select <em>Not in a group</em> to also set the context when viewing a node or other page that is not in any group."),
'plugin' => 'context_og_condition_group_type',
),
'context_og_condition_member_status' => array(
'title' => t('OG - member status context'),
'description' => t("Set this context when viewing a group context depending on a member's status."),
'plugin' => 'context_og_condition_member_status',
),
),
'reactions' => array(
'context_og_reaction_set_group_context' => array(
'title' => t('OG - set group context'),
'description' => t("Set this group's context."),
'plugin' => 'context_og_reaction_set_group_context',
),
),
);
}