Skip to content

Commit f52e2f1

Browse files
committed
Merge branch '2.0' into 2.1
2 parents 52f1f65 + b7cdf40 commit f52e2f1

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)