function WizardInterface::createView
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\WizardInterface::createView()
- 10 core/modules/views/src/Plugin/views/wizard/WizardInterface.php \Drupal\views\Plugin\views\wizard\WizardInterface::createView()
- 11.x 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.