public function configure(Form $form) { $form->addText('text', 'Text'); $form->addText('priceFrom', 'Price from'); $form->addText('priceTo', 'Price to'); $form->addCheckboxList('labels', 'Labels')->setItems($this->getLabels(), FALSE); $form->addSaveButton('Apply'); }