workshopStore = $workshopStore; } public function configureIndex(): array { return [ 'workshop', 'firstname', 'lastname', 'organization', 'city', 'email', 'phone', 'isAnimator' ]; } public function configureFields(): array { $workshopArray = $this->workshopStore->get(); return [ 'workshop' => AssociationField::new('workshop') ->setFormTypeOption('choices', $workshopArray), 'firstname' => TextField::new('firstname'), 'lastname' => TextField::new('lastname'), 'organization' => TextField::new('organization'), 'city' => TextField::new('city'), 'email' => EmailField::new('email'), 'phone' => TextField::new('phone'), 'isAnimator' => BooleanField::new('isAnimator'), ]; } }