You are here

protected function ViewsUiBaseViewsWizard::set_validated_view in Views (for Drupal 7) 7.3

1 call to ViewsUiBaseViewsWizard::set_validated_view()
ViewsUiBaseViewsWizard::validate in plugins/views_wizard/views_ui_base_views_wizard.class.php
Instantiates a view and validates values.

File

plugins/views_wizard/views_ui_base_views_wizard.class.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 set_validated_view($form, $form_state, $view) {
  $key = hash('sha256', serialize($form_state['values']));
  $this->validated_views[$key] = $view;
}