function mailchimp_campaign_theme in Mailchimp 8
Same name and namespace in other branches
- 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
- 7.2 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
- 7.3 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
- 7.4 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_theme()
- 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,
],
],
];
}