Skip to content

Commit 19f2fdc

Browse files
committed
Merge branch '2.1'
2 parents 1489382 + f52e2f1 commit 19f2fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_form_type_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ it in the view::
233233
}
234234

235235
// set an "image_url" variable that will be available when rendering this field
236-
$view->vars['image_url'] = $imageUrl;
236+
$view->set('image_url', $imageUrl);
237237
}
238238
}
239239

0 commit comments

Comments
 (0)