3 namespace Drupal\form_test\Form;
5 use Drupal\Core\Form\FormStateInterface;
8 * Builds a form to test table select with '#options' set to empty.
12 class FormTestTableSelectEmptyForm extends FormTestTableSelectFormBase {
17 public function getFormId() {
18 return '_form_test_tableselect_empty_form';
24 public function buildForm(array $form, FormStateInterface $form_state) {
25 return $this->tableselectFormBuilder($form, $form_state, ['#options' => []]);
31 public function submitForm(array &$form, FormStateInterface $form_state) {