function campaignmonitor_theme in Campaign Monitor 8
Same name and namespace in other branches
- 8.2 campaignmonitor.module \campaignmonitor_theme()
- 6.3 campaignmonitor.module \campaignmonitor_theme()
- 6 campaignmonitor.module \campaignmonitor_theme()
- 6.2 campaignmonitor.module \campaignmonitor_theme()
- 7 campaignmonitor.module \campaignmonitor_theme()
Implements hook_theme().
File
- ./
campaignmonitor.module, line 49 - Module that plugs in Campaign Monitor functionality to your Drupal web site. For Campaign Monitor information see: http://www.campaignmonitor.com/.
Code
function campaignmonitor_theme($existing, $type, $theme, $path) {
return [
'campaignmonitor_subscribe_form' => [
'render element' => 'form',
],
'campaignmonitor_list_stats' => [
'template' => 'campaignmonitor-list-stats',
'variables' => [
'list' => [],
'stats' => [],
],
],
];
}