3 namespace Drupal\page_cache_form_test\Form;
5 use Drupal\Core\Form\FormBase;
6 use Drupal\Core\Form\FormStateInterface;
8 class TestForm extends FormBase {
13 public function getFormId() {
14 return 'page_cache_form_test';
20 public function buildForm(array $form, FormStateInterface $form_state) {
21 $form['#prefix'] = '<p>Llamas are awesome, but kittens are pretty cool too!</p>';
28 public function submitForm(array &$form, FormStateInterface $form_state) { }