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

Breadcrumb

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

function WizardInterface::createView

Creates a view from values that have already been validated.

Parameters

array $form: The full wizard form array.

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

Return value

\Drupal\views\ViewEntityInterface The created view object.

Throws

\Drupal\views\Plugin\views\wizard\WizardException

1 method overrides WizardInterface::createView()
WizardPluginBase::createView in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Creates a view from values that have already been validated.

File

core/modules/views/src/Plugin/views/wizard/WizardInterface.php, line 57

Class

WizardInterface
Defines a common interface for Views Wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

public function createView(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