SonataUserBundle override form profile
问题 I am using SonataUserBundle and I am trying to override the edit profile form, but I am not sure about the services.yml and the config.yml. Here is the code. ProfileType.php namespace Application\Sonata\UserBundle\Form\Type; use Symfony\Component\Form\FormBuilderInterface; use Sonata\UserBundle\Form\Type\ProfileType as BaseType; class ProfileType extends BaseType { public function buildForm(FormBuilderInterface $builder, array $options) { parent::buildForm($builder, $options); $builder->add(