[TASK] Add DataProtection link
This commit is contained in:
parent
8502ea3910
commit
6f1383ce50
@ -368,7 +368,20 @@ class MailUtility
|
||||
if ($assetDomain) {
|
||||
$domain = $assetDomain;
|
||||
}
|
||||
$dataProtectionPid = $settings['dataProtectionPid'];
|
||||
$uriBuilder = $objectManager->get(
|
||||
UriBuilder::class
|
||||
);
|
||||
if ($dataProtectionPid) {
|
||||
$dataProtectionPid = $uriBuilder
|
||||
->reset()
|
||||
->setTargetPageUid(
|
||||
$settings['dataProtectionPid']
|
||||
)
|
||||
->build();
|
||||
}
|
||||
$htmlView->assign('domain', $domain);
|
||||
$htmlView->assign('linkDataprotection', $dataProtectionPid);
|
||||
$textBody = $textView->render();
|
||||
$htmlBody = $htmlView->render();
|
||||
if ($domain) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user