1 views_ui_base_views_wizard.php | protected ViewsUiBaseViewsWizard::retrieve_validated_view($form, $form_state, $unset = TRUE) |
File
- core/
modules/ views_ui/ wizards/ views_ui_base_views_wizard.php, line 908 - Provides the interface and base class for Views Wizard plugins.
Class
- ViewsUiBaseViewsWizard
- A very generic Views Wizard class - can be constructed for any base table.
Code
protected function retrieve_validated_view($form, $form_state, $unset = TRUE) {
$key = hash('sha256', serialize($form_state['values']));
$view = (isset($this->validated_views[$key]) ? $this->validated_views[$key] : NULL);
if ($unset) {
unset($this->validated_views[$key]);
}
return $view;
}