sectionStore = $sectionStore; } public function configureFields(): array { return array_merge(parent::configureFields(), [ 'type' => ChoiceField::new('type') ->autocomplete() ->setSortable(true) ->setChoices( $this->translatorAdmin->transChoices( TicketSolver::getTypeChoices(), 'Ticket', 'type' ) ), ]); } public function configureIndex(): array { return $this->addSectionToFieldArrayIfOutOfSection($this->section, parent::configureIndex()); } public function configureForm(): array { return array_merge(['section'], parent::configureForm()); } }