Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. WizardInterface.php

function 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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal