You are here

function context_condition_user_page::condition_values in Context 7.3

Same name and namespace in other branches
  1. 6.3 plugins/context_condition_user_page.inc \context_condition_user_page::condition_values()
  2. 6 plugins/context_condition_user_page.inc \context_condition_user_page::condition_values()

Condition values.

Overrides context_condition::condition_values

File

plugins/context_condition_user_page.inc, line 7

Class

context_condition_user_page
Expose user pages as a context condition.

Code

function condition_values() {
  $values = array();
  $values['view'] = t('User profile');
  $values['form'] = t('User account form');
  $values['register'] = t('Registration form');
  return $values;
}