You are here

function contextphp_condition_php::condition_values in Context PHP 7

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

Condition values.

Overrides context_condition::condition_values

File

plugins/contextphp_condition_php.inc, line 12
contextphp_condition_php.inc Adds php argument condition to Context

Class

contextphp_condition_php
PHP code as a Context condition.

Code

function condition_values() {
  return array(
    1 => t('True'),
  );
}