Commit 36ee1e06 authored by alexpott's avatar alexpott

Issue #2797721 by jp.stacey: Custom form handler's submitForm not called when...

Issue #2797721 by jp.stacey: Custom form handler's submitForm not called when using example in documentation

(cherry picked from commit 85a227f7)
parent 4f695034
...@@ -1692,7 +1692,11 @@ ...@@ -1692,7 +1692,11 @@
* // Create a $form API array. * // Create a $form API array.
* $form['phone_number'] = array( * $form['phone_number'] = array(
* '#type' => 'tel', * '#type' => 'tel',
* '#title' => $this->t('Your phone number') * '#title' => $this->t('Your phone number'),
* );
* $form['save'] = array(
* '#type' => 'submit',
* '#value' => $this->t('Save'),
* ); * );
* return $form; * return $form;
* } * }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment