From c64a39bad7a597ffd3a1c5773c6a691681f882f0 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Wed, 27 Mar 2024 13:26:53 +0100 Subject: [PATCH] #1039: Added base_url variable to maestro notification twig --- modules/os2forms_forloeb/src/MaestroHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/os2forms_forloeb/src/MaestroHelper.php b/modules/os2forms_forloeb/src/MaestroHelper.php index dfa65cae..c4d23b62 100644 --- a/modules/os2forms_forloeb/src/MaestroHelper.php +++ b/modules/os2forms_forloeb/src/MaestroHelper.php @@ -17,6 +17,7 @@ use Drupal\Core\Logger\LoggerChannelInterface; use Drupal\Core\Mail\MailManagerInterface; use Drupal\Core\Render\Markup; +use Drupal\Core\Site\Settings; use Drupal\Core\Url; use Drupal\entity_print\Plugin\EntityPrintPluginManagerInterface; use Drupal\maestro\Engine\MaestroEngine; @@ -615,6 +616,7 @@ private function renderHtml( 'action_label' => $actionLabel, 'webform_submission' => $submission, 'handler' => $this, + 'base_url' => Settings::get('base_url') ], ];