You are here

interface PropertyInterface in Form Builder 7.2

Hierarchy

Expanded class hierarchy of PropertyInterface

All classes that implement PropertyInterface

File

src/PropertyInterface.php, line 5

Namespace

Drupal\form_builder
View source
interface PropertyInterface {

  /**
   * Construct a new instance of this property class.
   *
   * @param string $property
   *   Name of the property to be manipulated by this object.
   * @param array $params
   *   Additional parameters passed to hook_form_builder_properties().
   */
  public function __construct($property, $params, $form_type_name);

  /**
   * Submit handler for the editing form().
   *
   * This function is responsible to store the new value into the $form_state.
   * The value must be located at $form_state['values'][$property].
   *
   * @param array $form_state
   *   Form API form_state of the field configure form.
   */
  public function submit($form, &$form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
PropertyInterface::submit public function Submit handler for the editing form(). 1
PropertyInterface::__construct public function Construct a new instance of this property class. 1