You are here

public static function FormBase::loadFromStorage in Form Builder 7.2

1 method overrides FormBase::loadFromStorage()
Form::loadFromStorage in modules/webform/src/Form.php

File

src/FormBase.php, line 29

Class

FormBase

Namespace

Drupal\form_builder

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);
}