You are here

public function WizardInterface::validateView in Views (for Drupal 7) 8.3

Validate form and values.

Parameters

array $form: The full wizard form array.

array $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 lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().

File

lib/Drupal/views/Plugin/views/wizard/WizardInterface.php, line 43
Definition of Drupal\views\Plugin\views\wizard\WizardInterface.

Class

WizardInterface
Defines a common interface for Views Wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

public function validateView(array $form, array &$form_state);