function ViewsUiBaseViewsWizard::retrieve_validated_view
1 call to ViewsUiBaseViewsWizard::retrieve_validated_view()
- ViewsUiBaseViewsWizard::create_view in plugins/
views_wizard/ views_ui_base_views_wizard.class.php - Create a View from values that have been already submitted to validate().
File
-
plugins/
views_wizard/ views_ui_base_views_wizard.class.php, line 934
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;
}