1 views_plugin_argument_validate_user.inc views_plugin_argument_validate_user::options_submit(&$form, &$form_state, &$options = array())

Provide the default form form for submitting options

Overrides views_plugin_argument_validate::options_submit

File

core/modules/user/views/views_plugin_argument_validate_user.inc, line 56
Definition of views_plugin_argument_validate_user.

Class

views_plugin_argument_validate_user
Validate whether an argument is a valid user.

Code

function options_submit(&$form, &$form_state, &$options = array()) {
  // filter trash out of the options so we don't store giant unnecessary arrays
  $options['roles'] = array_filter($options['roles']);
}