You are here

public function User::submitOptionsForm in Views (for Drupal 7) 8.3

Provide the default form form for submitting options

Overrides ArgumentValidatorPluginBase::submitOptionsForm

File

lib/Views/user/Plugin/views/argument_validator/User.php, line 70
Definition of Views\user\Plugin\views\argument_validator\User.

Class

User
Validate whether an argument is a valid user.

Namespace

Views\user\Plugin\views\argument_validator

Code

public function submitOptionsForm(&$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']);
}