3 namespace Wallabag\CoreBundle\Form\Type
;
5 use Symfony\Component\Form\AbstractType
;
6 use Symfony\Component\Form\FormBuilderInterface
;
7 use Symfony\Component\OptionsResolver\OptionsResolver
;
9 class UserInformationType
extends AbstractType
11 public function buildForm(FormBuilderInterface
$builder, array $options)
15 ->add('email', 'email')
16 ->add('save', 'submit')
18 ->remove('plainPassword')
22 public function getParent()
24 return 'fos_user_registration';
27 public function configureOptions(OptionsResolver
$resolver)
29 $resolver->setDefaults(array(
30 'data_class' => 'Wallabag\CoreBundle\Entity\User',
34 public function getName()