function masquerade_context_condition::condition_values in Masquerade Extras 7
Same name and namespace in other branches
- 6.2 masquerade_context/plugins/condition/masquerade_context.inc \masquerade_context_condition::condition_values()
- 7.2 masquerade_context/plugins/condition/masquerade_context.inc \masquerade_context_condition::condition_values()
Specifies the condition settings exposed to the user. NOTE: Context will not save this condition if this is left empty. @returns An array of user conditions that can apply to evaluate this condition. @retval array
Overrides context_condition::condition_values
File
- masquerade_context/
plugins/ condition/ masquerade_context.inc, line 14 - Expose masquerade as a customizable context condition.
Class
- masquerade_context_condition
- @file Expose masquerade as a customizable context condition.
Code
function condition_values() {
return array(
'myself' => t('Current User'),
'other' => t('Displayed User') . t(' (only on user pages)'),
);
}