Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function buildForm(FormInterface $form) |
||
31 | { |
||
32 | $requiredData = $form->addChild($this->getElement('nested_fieldset', [ |
||
33 | 'name' => 'status_data', |
||
34 | 'label' => 'common.fieldset.general', |
||
35 | ])); |
||
36 | |||
37 | $requiredData->addChild($this->getElement('text_area', [ |
||
38 | 'name' => 'content', |
||
39 | 'rows' => 10, |
||
40 | 'label' => 'order_note.label.content', |
||
41 | ])); |
||
42 | |||
43 | $form->addChild($this->getElement('submit', [ |
||
44 | 'name' => 'add_order_note', |
||
45 | 'label' => 'order_note.button.save', |
||
46 | ])); |
||
47 | |||
48 | $form->addFilter($this->getFilter('trim')); |
||
49 | $form->addFilter($this->getFilter('secure')); |
||
50 | } |
||
51 | } |
||
52 |