1 | <?php |
||
13 | class TextPagePartAdminType extends AbstractType |
||
14 | { |
||
15 | /** |
||
16 | * @param \Symfony\Component\Form\FormBuilderInterface $builder |
||
17 | * @param array $options |
||
18 | */ |
||
19 | 1 | public function buildForm(FormBuilderInterface $builder, array $options) |
|
20 | { |
||
21 | 1 | $builder->add('content', WysiwygType::class, array( |
|
22 | 1 | 'label' => 'pagepart.text.content', |
|
23 | 'required' => false, |
||
24 | )); |
||
25 | 1 | } |
|
26 | |||
27 | /** |
||
28 | * @return string |
||
29 | */ |
||
30 | public function getBlockPrefix() |
||
34 | |||
35 | /** |
||
36 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
37 | */ |
||
38 | 1 | public function configureOptions(OptionsResolver $resolver) |
|
44 | } |
||
45 |