/** * {@inheritdoc} */ public function finishView(FormView $view, FormInterface $form, array $options) { parent::finishView($view, $form, $options); $view->vars['preload_choices'] = $options['preload_choices']; $view->vars['choice_url'] = $options['choice_url']; $view->vars['choice_url_params'] = $options['choice_url_params']; }