You are here

function contexturl_condition_url::condition_form in Context URL 7

condition_form function

Overrides context_condition::condition_form

File

plugins/contexturl_condition_url.inc, line 22
Adds url argument condition to Context

Class

contexturl_condition_url
URL as a Context condition.

Code

function condition_form($context) {
  $form['#type'] = 'value';
  $form['#value'] = TRUE;
  return $form;
}