function form_builder_load_form in Form Builder 7
Same name and namespace in other branches
- 6 includes/form_builder.api.inc \form_builder_load_form()
Loader function to retrieve a form builder configuration array.
Parameters
$form_type: The type of form being edited. Usually the name of the providing module.
$form_id: The unique identifier for the form being edited with the type.
Deprecated
Use FormBuilderLoader::fromStorage() instead.
File
- includes/
form_builder.api.inc, line 120 - form_builder.api.inc Universally used API functions within the Form builder module.
Code
function form_builder_load_form($form_type, $form_id) {
return FormBuilderLoader::instance()
->fromStorage($form_type, $form_id)
->getFormArray();
}