You are here

interface ViewsWizardInterface in Views (for Drupal 7) 7.3

Defines a common interface for Views Wizard plugins.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
ViewsWizardInterface::build_form function For AJAX callbacks to build other elements in the "show" form. 1
ViewsWizardInterface::create_view function Create a new View from form values. 1
ViewsWizardInterface::validate function Validate form and values. 1
ViewsWizardInterface::__construct function Constructor. 1