1234567891011121314151617181920212223 |
- <?php
- namespace App\Form;
- use Symfony\Component\Form\AbstractType;
- use Symfony\Component\Form\FormBuilderInterface;
- class UserEditType extends AbstractType
- {
- /**
- * {@inheritdoc}
- */
- public function buildForm(FormBuilderInterface $builder, array $options)
- {
- $builder
- ->remove('password');
- }
- public function getParent()
- {
- return UserType::class;
- }
- }
|