1 views_handler_filter_user_name.inc views_handler_filter_user_name::value_validate($form, &$form_state)

Validate the options form.

Overrides views_handler_filter::value_validate

File

core/modules/user/views/views_handler_filter_user_name.inc, line 46
Definition of views_handler_filter_user_name.

Class

views_handler_filter_user_name
Filter handler for usernames.

Code

function value_validate($form, &$form_state) {
  $values = backdrop_explode_tags($form_state['values']['options']['value']);
  $uids = $this->validate_user_strings($form['value'], $values);

  if ($uids) {
    $form_state['values']['options']['value'] = $uids;
  }
}