protected function WizardPluginBase::set_validated_view

Stores a validated view from a form submission.

Parameters

array $form: The full wizard form array.

array $form_state: The current state of the wizard form.

Drupal\views_ui\ViewUI $view: The validated view object.

1 call to WizardPluginBase::set_validated_view()
WizardPluginBase::validateView in drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php, line 1134
Definition of Drupal\views\Plugin\views\wizard\WizardPluginBase.

Class

WizardPluginBase
Provides the interface and base class for Views Wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

protected function set_validated_view(array $form, array &$form_state, ViewUI $view) {
  $key = hash('sha256', serialize($form_state['values']));
  $this->validated_views[$key] = $view;
}