@@ -47,6 +47,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
4747$ labelTranslationParameters =$ options ['label_translation_parameters ' ];
4848$ attrTranslationParameters =$ options ['attr_translation_parameters ' ];
4949$ labelFormat =$ options ['label_format ' ];
50+ $ labelHtml =$ options ['label_html ' ];
5051
5152if ($ view ->parent ) {
5253if ('' !== ($ parentFullName =$ view ->parent ->vars ['full_name ' ])) {
@@ -69,6 +70,10 @@ public function buildView(FormView $view, FormInterface $form, array $options)
6970if (!$ labelFormat ) {
7071$ labelFormat =$ view ->parent ->vars ['label_format ' ];
7172 }
73+
74+ if (!$ labelHtml ) {
75+ $ labelHtml =$ view ->parent ->vars ['label_html ' ];
76+ }
7277 }else {
7378$ id =$ name ;
7479$ fullName =$ name ;
@@ -97,7 +102,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
97102'disabled ' =>$ form ->isDisabled (),
98103'label ' =>$ options ['label ' ],
99104'label_format ' =>$ labelFormat ,
100- 'label_html ' =>$ options [ ' label_html ' ] ,
105+ 'label_html ' =>$ labelHtml ,
101106'multipart ' =>false ,
102107'attr ' =>$ options ['attr ' ],
103108'block_prefixes ' =>$ blockPrefixes ,