You are here

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

Provide the default form form for submitting options

Overrides ArgumentValidatorPluginBase::submitOptionsForm

File

lib/Views/node/Plugin/views/argument_validator/Node.php, line 78
Definition of Views\node\Plugin\views\argument_validator\Node.

Class

Node
Validate whether an argument is an acceptable node.

Namespace

Views\node\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['types'] = array_filter($options['types']);
}