You are here

public static function FormBuilderFormBase::loadFromStorage in Form Builder 7

1 method overrides FormBuilderFormBase::loadFromStorage()
FormBuilderWebformForm::loadFromStorage in modules/webform/form_builder_webform.classes.inc

File

./form_builder.classes.inc, line 347

Class

FormBuilderFormBase

Code

public static function loadFromStorage($form_type, $form_id, $sid, $params) {
  $form = module_invoke_all('form_builder_load', $form_type, $form_id);
  drupal_alter('form_builder_load', $form, $form_type, $form_id);
  return new static($form_type, $form_id, $sid, $params, $form);
}