You are here

interface FlexiformBuilderInterface in Flexiform 7

Interface for all Flexiform Builders.

Hierarchy

Expanded class hierarchy of FlexiformBuilderInterface

All classes that implement FlexiformBuilderInterface

File

includes/flexiform.builder.inc, line 10
Specify builder classes for flexiforms.

View source
interface FlexiformBuilderInterface {

  /**
   * Build the form for this flexiform.
   */
  public function form($form, &$form_state);

  /**
   * Validate the input for the form.
   */
  public function formValidate($form, &$form_state);

  /**
   * Submit the form.
   */
  public function formSubmit($form, &$form_state);

  /**
   * Support Components.
   *
   * Determine whether or not a builder supports a paricular component.
   */
  public function supportsComponent($component);

}

Members

Namesort descending Modifiers Type Description Overrides
FlexiformBuilderInterface::form public function Build the form for this flexiform. 1
FlexiformBuilderInterface::formSubmit public function Submit the form. 1
FlexiformBuilderInterface::formValidate public function Validate the input for the form. 1
FlexiformBuilderInterface::supportsComponent public function Support Components. 1