campaignmonitor-campaign-html.html.twig in Campaign Monitor 8
Default campaign monitor template to render a campaign for export.
Available variables:
- html: The html generated by the view mode for the campaign content
1 theme call to campaignmonitor-campaign-html.html.twig
- CampaignMonitorCampaignSendForm::createHtmlFile in modules/
campaignmonitor_campaign/ src/ Form/ CampaignMonitorCampaignSendForm.php - Create the file that campaign monitor will use for the campaign.
File
modules/campaignmonitor_campaign/templates/campaignmonitor-campaign-html.html.twigView source
- {#
- /**
- * @file
- * Default campaign monitor template to render a campaign for export.
- *
- * Available variables:
- * - html: The html generated by the view mode for the campaign content
- *
- *
- * @ingroup themeable
- */
- #}
- <html>
- <head>
- {# This is substituted out in a core module #}
- [styles]
- </head>
- <body>
- {# HTML needs to be rendered raw so that all tags display #}
- {{ html|raw }}
- </body>
- </html>