web developer blog, fixed developing issues log
protected function configureFormFields(FormMapper $formMapper) { $formMapper
protected function configureFormFields(FormMapper $formMapper) {
$formMapper
->add('lang', 'choice', [ 'expanded' => true, 'choices' => [ '0' => 'LV', '1' => 'RU', '2' => 'EN' ]]);
}
Комментариев нет:
Отправить комментарий