protected function WizardPluginBase::setValidatedView in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::setValidatedView()
Stores a validated view from a form submission.
Parameters
array $form: The full wizard form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the wizard form.
\Drupal\views_ui\ViewUI $view: The validated view object.
1 call to WizardPluginBase::setValidatedView()
- 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/ WizardPluginBase.php, line 1230 - Contains \Drupal\views\Plugin\views\wizard\WizardPluginBase.
Class
- WizardPluginBase
- Base class for Views wizard plugins.
Namespace
Drupal\views\Plugin\views\wizardCode
protected function setValidatedView(array $form, FormStateInterface $form_state, ViewUI $view) {
$key = hash('sha256', serialize($form_state
->getValues()));
$this->validated_views[$key] = $view;
}