function ViewsUiBaseViewsWizard::create_view
Create a View from values that have been already submitted to validate().
Throws
ViewsWizardException if the values have not been validated.
Overrides ViewsWizardInterface::create_view
File
-
plugins/
views_wizard/ views_ui_base_views_wizard.class.php, line 969
Class
- ViewsUiBaseViewsWizard
- A very generic Views Wizard class - can be constructed for any base table.
Code
public function create_view($form, &$form_state) {
$view = $this->retrieve_validated_view($form, $form_state);
if (empty($view)) {
throw new ViewsWizardException(t('Attempted to create_view with values that have not been validated'));
}
return $view;
}