@@ -73,7 +73,6 @@ public function getFunctions()
73
73
'form_widget ' => new \Twig_Function_Method ($ this , 'renderWidget ' , array ('is_safe ' => array ('html ' ))),
74
74
'form_errors ' => new \Twig_Function_Method ($ this , 'renderErrors ' , array ('is_safe ' => array ('html ' ))),
75
75
'form_label ' => new \Twig_Function_Method ($ this , 'renderLabel ' , array ('is_safe ' => array ('html ' ))),
76
- 'form_data ' => new \Twig_Function_Method ($ this , 'renderData ' , array ('is_safe ' => array ('html ' ))),
77
76
'form_row ' => new \Twig_Function_Method ($ this , 'renderRow ' , array ('is_safe ' => array ('html ' ))),
78
77
'form_rest ' => new \Twig_Function_Method ($ this , 'renderRest ' , array ('is_safe ' => array ('html ' ))),
79
78
);
@@ -158,16 +157,6 @@ public function renderLabel(FormView $view, $label = null)
158
157
return $ this ->render ($ view , 'label ' , null === $ label ? array () : array ('label ' => $ label ));
159
158
}
160
159
161
- /**
162
- * Renders the widget data of the given view
163
- *
164
- * @param FormView $view The view to render the data for
165
- */
166
- public function renderData (FormView $ view )
167
- {
168
- return $ form ->getData ();
169
- }
170
-
171
160
protected function render (FormView $ view , $ section , array $ variables = array (), array $ resources = null )
172
161
{
173
162
$ templates = $ this ->getTemplates ($ view , $ resources );
0 commit comments