function views_ui_get_form_wizard_instance in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 views_ui/views_ui.module \views_ui_get_form_wizard_instance()
Get form wizard instance.
1 string reference to 'views_ui_get_form_wizard_instance'
- views_ui_views_wizard_defaults in ./
views_ui.module - Helper function to define the default values for a Views wizard plugin.
File
- ./
views_ui.module, line 701 - Provide structure for the administrative interface to Views.
Code
function views_ui_get_form_wizard_instance($wizard) {
if (isset($wizard['form_wizard_class']['class'])) {
$class = $wizard['form_wizard_class']['class'];
return new $class($wizard);
}
else {
return new ViewsUiBaseViewsWizard($wizard);
}
}