1 views_handler_filter_search.inc views_handler_filter_search::value_form(&$form, &$form_state)

Provide a simple textfield for equality

Overrides views_handler_filter::value_form

File

core/modules/search/views/views_handler_filter_search.inc, line 72
Contains a search filter handler.

Class

views_handler_filter_search
Field handler to provide simple renderer that allows linking to a node.

Code

function value_form(&$form, &$form_state) {
  $form['value'] = array(
    '#type' => 'textfield',
    '#size' => 15,
    '#default_value' => $this->value,
    '#attributes' => array('title' => t('Enter the terms you wish to search for.')),
    '#title' => empty($form_state['exposed']) ? t('Value') : '',
  );
}