You are here

public function name_handler_filter_name_fulltext::value_form in Name Field 7

Provide a simple textfield for equality.

Overrides views_handler_filter::value_form

File

includes/name_handler_filter_name_fulltext.inc, line 63

Class

name_handler_filter_name_fulltext
Field handler to provide simple renderer that allows linking to a entity.

Code

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