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

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

parent 49bcf2ca
No related branches found
No related tags found
6 merge requests!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent
......@@ -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