3 namespace Drupal\big_pipe_test\Form;
5 use Drupal\Core\Form\FormBase;
6 use Drupal\Core\Form\FormStateInterface;
8 class BigPipeTestForm extends FormBase {
13 public function getFormId() {
14 return 'big_pipe_test_form';
20 public function buildForm(array $form, FormStateInterface $form_state) {
21 $form['#token'] = FALSE;
24 '#type' => 'checkboxes',
25 '#title' => $this->t('BigPipe works…'),
27 'js' => $this->t('… with JavaScript'),
28 'nojs' => $this->t('… without JavaScript'),
38 public function submitForm(array &$form, FormStateInterface $form_state) {}