protected function WizardPluginBase::set_validated_view in Views (for Drupal 7) 8.3
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 lib/
Drupal/ views/ Plugin/ views/ wizard/ WizardPluginBase.php - Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().
File
- lib/
Drupal/ views/ Plugin/ views/ wizard/ WizardPluginBase.php, line 1057 - 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\wizardCode
protected function set_validated_view(array $form, array &$form_state, ViewUI $view) {
$key = hash('sha256', serialize($form_state['values']));
$this->validated_views[$key] = $view;
}