You are here

function cmd_condition::condition_values in Context Mobile Detect 7.2

Same name and namespace in other branches
  1. 7 plugins/context_mobile_detect_condition.inc \cmd_condition::condition_values()

Condition values.

Overrides context_condition::condition_values

File

plugins/context_mobile_detect_condition.inc, line 12
The file, which controls Mobile Device plugin.

Class

cmd_condition
Main context class to detect user's device.

Code

function condition_values() {
  return array(
    1 => t('Mobile Device'),
    2 => t('Tablet Device'),
    3 => t('Desktop Device'),
  );
}