Skip to content
Snippets Groups Projects
Commit 796a8689 authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

Issue #2924159 followup by jsacksick: Properly access the profile view builder.

parent cfeb17b7
No related branches found
No related tags found
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
......@@ -58,7 +58,7 @@ class OrderReceiptMail implements OrderReceiptMailInterface {
];
if ($billing_profile = $order->getBillingProfile()) {
$profile_view_builder = $this->entityTypeManager->getViewBuilder('profile');
$body['#billing_information'] = $this->profileViewBuilder->view($billing_profile);
$body['#billing_information'] = $profile_view_builder->view($billing_profile);
}
$params = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment