Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
20 | 1 | public function buildForm(FormBuilderInterface $builder, array $options) |
|
21 | { |
||
22 | 1 | $builder->add( |
|
23 | 1 | 'niv', |
|
24 | 1 | ChoiceType::class, |
|
25 | array( |
||
26 | 1 | 'label' => 'pagepart.header.type', |
|
27 | 'choices' => array('Header 1' => '1', 'Header 2' => '2', 'Header 3' => '3', 'Header 4' => '4', 'Header 5' => '5', 'Header 6' => '6'), |
||
28 | 'required' => true, |
||
29 | ) |
||
30 | ); |
||
31 | 1 | $builder->add('title', TextType::class, array( |
|
32 | 1 | 'label' => 'pagepart.header.title', |
|
33 | 'required' => true, |
||
34 | )); |
||
35 | 1 | } |
|
36 | |||
57 |