You are here

public function MultiFormBuilderInterface::getForm in Multiple forms 8

Gets a renderable form array.

Every argument is a list of arguments to be passed to FormBuilder::getForm. For example, if the first form is called as FormBuilder::getForm($form_id1, $arg1, $arg2); and the second as FormBuilder::getForm($form_id2, $arg3, $arg4) call MultiFormBuilder::getForm(array($form_id1, $arg1, $arg2), array($form_id2, $arg3, $arg4)).

Return value

array The form array.

1 method overrides MultiFormBuilderInterface::getForm()
MultiFormBuilder::getForm in src/MultiFormBuilder.php
Gets a renderable form array.

File

src/MultiFormBuilderInterface.php, line 38
Contains \Drupal\multiform\MultiFormBuilderInterface.

Class

MultiFormBuilderInterface
Provides an interface for form building and processing.

Namespace

Drupal\multiform

Code

public function getForm();