interface ViewsWizardInterface in Views (for Drupal 7) 7.3
Defines a common interface for Views Wizard plugins.
Hierarchy
- interface \ViewsWizardInterface
Expanded class hierarchy of ViewsWizardInterface
All classes that implement ViewsWizardInterface
File
- plugins/
views_wizard/ views_ui_base_views_wizard.class.php, line 11 - Provides the interface and base class for Views Wizard plugins.
View source
interface ViewsWizardInterface {
/**
* Constructor.
*/
function __construct($plugin);
/**
* For AJAX callbacks to build other elements in the "show" form.
*/
function build_form($form, &$form_state);
/**
* Validate form and values.
*
* @return an array of form errors.
*/
function validate($form, &$form_state);
/**
* Create a new View from form values.
*
* @return a view object.
*
* @throws ViewsWizardException in the event of a problem.
*/
function create_view($form, &$form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ViewsWizardInterface:: |
function | For AJAX callbacks to build other elements in the "show" form. | 1 | |
ViewsWizardInterface:: |
function | Create a new View from form values. | 1 | |
ViewsWizardInterface:: |
function | Validate form and values. | 1 | |
ViewsWizardInterface:: |
function | Constructor. | 1 |