@@ -31,25 +31,25 @@ |
||
| 31 | 31 | $builder |
| 32 | 32 | ->add('name', TextType::class, array( |
| 33 | 33 | 'constraints' => array( |
| 34 | - new NotBlank(array( 'message' => 'security.setting.form.name.required')), |
|
| 34 | + new NotBlank(array('message' => 'security.setting.form.name.required')), |
|
| 35 | 35 | ), |
| 36 | 36 | 'label' => 'security.settings.form.name', |
| 37 | 37 | )) |
| 38 | 38 | ->add('key', TextType::class, array( |
| 39 | 39 | 'constraints' => array( |
| 40 | - new NotBlank(array( 'message' => 'security.setting.form.key.required')), |
|
| 40 | + new NotBlank(array('message' => 'security.setting.form.key.required')), |
|
| 41 | 41 | ), |
| 42 | 42 | 'label' => 'security.settings.form.email', |
| 43 | 43 | )) |
| 44 | 44 | ->add('value', TextType::class, array( |
| 45 | 45 | 'constraints' => array( |
| 46 | - new NotBlank(array( 'message' => 'security.setting.form.name.required')), |
|
| 46 | + new NotBlank(array('message' => 'security.setting.form.name.required')), |
|
| 47 | 47 | ), |
| 48 | 48 | 'label' => 'security.settings.form.password', |
| 49 | 49 | )) |
| 50 | 50 | ->add('section', TextType::class, array( |
| 51 | 51 | 'constraints' => array( |
| 52 | - new NotBlank(array( 'message' => 'security.setting.form.name.required')), |
|
| 52 | + new NotBlank(array('message' => 'security.setting.form.name.required')), |
|
| 53 | 53 | ), |
| 54 | 54 | 'label' => 'security.settings.form.section', |
| 55 | 55 | )); |
@@ -37,13 +37,13 @@ |
||
| 37 | 37 | $builder |
| 38 | 38 | ->add('username', TextType::class, array( |
| 39 | 39 | 'constraints' => array( |
| 40 | - new NotBlank(array( 'message' => 'security.user.form.name.required')), |
|
| 40 | + new NotBlank(array('message' => 'security.user.form.name.required')), |
|
| 41 | 41 | ), |
| 42 | 42 | 'label' => 'security.users.form.username', |
| 43 | 43 | )) |
| 44 | 44 | ->add('email', EmailType::class, array( |
| 45 | 45 | 'constraints' => array( |
| 46 | - new Email(array( 'message' => 'security.user.form.name.not_valid')), |
|
| 46 | + new Email(array('message' => 'security.user.form.name.not_valid')), |
|
| 47 | 47 | ), |
| 48 | 48 | 'label' => 'security.users.form.email', |
| 49 | 49 | )) |