You are here

function campaignmonitor_campaign_theme in Campaign Monitor 8

Implements hook_theme().

File

modules/campaignmonitor_campaign/campaignmonitor_campaign.module, line 168
Module file for campaignmonitor_campaign.

Code

function campaignmonitor_campaign_theme($existing, $type, $theme, $path) {
  return [
    'campaignmonitor_campaign_html' => [
      'variables' => [
        'html' => '',
      ],
      'template' => 'campaignmonitor-campaign-html',
    ],
    'campaignmonitor_archive' => [
      'variables' => [
        'campaigns' => NULL,
      ],
      'template' => 'block--campaignmonitor-archive',
    ],
  ];
}