You are here

public function WizardInterface::validateView in Drupal 8

Same name and namespace in other branches
  1. 9 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\wizard

Code

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