function BuildDemo::submitForm

Same name in other branches
  1. 3.x modules/form_api_example/src/Form/BuildDemo.php \Drupal\form_api_example\Form\BuildDemo::submitForm()
  2. 4.0.x modules/form_api_example/src/Form/BuildDemo.php \Drupal\form_api_example\Form\BuildDemo::submitForm()

File

form_api_example/src/Form/BuildDemo.php, line 124

Class

BuildDemo
Implements the build demo form controller.

Namespace

Drupal\form_api_example\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
    $this->displayMethodInvocation('submitForm');
}