public function WizardInterface::createView in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\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\wizardCode
public function createView(array $form, FormStateInterface $form_state);