public FormBuilderInterface::retrieveForm($form_id, FormStateInterface &$form_state)
Retrieves the structured array that defines a given form.
string $form_id: The unique string identifying the desired form. If a function with that name exists, it is called to build the form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form, including the additional arguments to self::getForm() or self::submitForm() in the 'args' component of the array.
mixed|\Symfony\Component\HttpFoundation\Response
public function retrieveForm($form_id, FormStateInterface &$form_state);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormBuilderInterface.php/function/FormBuilderInterface::retrieveForm/8.1.x