You are here

public function MultiformExampleController::content in Multiple forms 8

1 string reference to 'MultiformExampleController::content'
multiform_example.routing.yml in multiform_example/multiform_example.routing.yml
multiform_example/multiform_example.routing.yml

File

multiform_example/src/Controller/MultiformExampleController.php, line 35
Contains \Drupal\multiform_example\Controller\MainController.

Class

MultiformExampleController
Controller routines for contact routes.

Namespace

Drupal\multiform_example\Controller

Code

public function content() {
  return $this->multiFormBuilder
    ->getForm(array(
    'Drupal\\multiform_example\\Form\\Example1',
  ), array(
    'Drupal\\multiform_example\\Form\\Example2',
  ));
}