You are here

function mailchimp_campaign_theme in Mailchimp 8

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
  2. 7.2 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
  3. 7.3 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
  4. 7.4 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
  5. 2.x modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()

Implements hook_theme().

File

modules/mailchimp_campaign/mailchimp_campaign.module, line 52
Module file for mailchimp_campaign.

Code

function mailchimp_campaign_theme($existing, $type, $theme, $path) {
  return [
    'mailchimp_campaign_node_campaigns_list' => [
      'variables' => [
        'node_campaigns' => [],
      ],
    ],
    'mailchimp_campaign_mclinks' => [
      'variables' => [
        'data' => NULL,
      ],
    ],
    'mailchimp_campaign_actions' => [
      'variables' => [
        'campaign' => NULL,
      ],
    ],
  ];
}