function ViewsPluginInterface::validateOptionsForm

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::validateOptionsForm()
  2. 8.9.x core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::validateOptionsForm()
  3. 11.x core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::validateOptionsForm()

Validate the options form.

Parameters

array $form: An alterable, associative array containing the structure of the form, passed by reference.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides ViewsPluginInterface::validateOptionsForm()
PluginBase::validateOptionsForm in core/modules/views/src/Plugin/views/PluginBase.php
Validate the options form.

File

core/modules/views/src/Plugin/views/ViewsPluginInterface.php, line 53

Class

ViewsPluginInterface
Provides an interface for all views plugins.

Namespace

Drupal\views\Plugin\views

Code

public function validateOptionsForm(&$form, FormStateInterface $form_state);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.