interface ViewsWizardInterface

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

View source
interface ViewsWizardInterface {
  
  /**
   * Constructor.
   */
  public function __construct($plugin);
  
  /**
   * For AJAX callbacks to build other elements in the "show" form.
   */
  public function build_form($form, &$form_state);
  
  /**
   * Validate form and values.
   *
   * @return an array of form errors.
   */
  public function validate($form, &$form_state);
  
  /**
   * Create a new View from form values.
   *
   * @return a view object.
   *
   * @throws ViewsWizardException in the event of a problem.
   */
  public function create_view($form, &$form_state);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ViewsWizardInterface::build_form public function For AJAX callbacks to build other elements in the "show" form. 1
ViewsWizardInterface::create_view public function Create a new View from form values. 1
ViewsWizardInterface::validate public function Validate form and values. 1
ViewsWizardInterface::__construct public function Constructor. 1