function WizardInterface::validateView
Same name in other branches
- 9 core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\WizardInterface::validateView()
- 8.9.x core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\WizardInterface::validateView()
- 10 core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\WizardInterface::validateView()
Validate form and values.
Parameters
array $form: The full wizard form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the wizard form.
Return value
array An empty array if the view is valid; an array of error strings if it is not.
1 method overrides WizardInterface::validateView()
- WizardPluginBase::validateView in core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardPluginBase.php - Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().
File
-
core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardInterface.php, line 42
Class
- WizardInterface
- Defines a common interface for Views Wizard plugins.
Namespace
Drupal\views\Plugin\views\wizardCode
public function validateView(array $form, FormStateInterface $form_state);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.