You are here

function campaignmonitor_theme in Campaign Monitor 7

Same name and namespace in other branches
  1. 8.2 campaignmonitor.module \campaignmonitor_theme()
  2. 8 campaignmonitor.module \campaignmonitor_theme()
  3. 6.3 campaignmonitor.module \campaignmonitor_theme()
  4. 6 campaignmonitor.module \campaignmonitor_theme()
  5. 6.2 campaignmonitor.module \campaignmonitor_theme()

Implements hook_theme().

File

./campaignmonitor.module, line 133
Module that plugs in Campaign Monitor functionality to your Drupal web site.

Code

function campaignmonitor_theme() {
  return array(
    'campaignmonitor_subscribe_form' => array(
      'render element' => 'form',
    ),
    'campaignmonitor_list_stats' => array(
      'template' => 'campaignmonitor_list_stats',
      'variables' => array(
        'list' => NULL,
        'stats' => NULL,
      ),
      'file' => 'includes/campaignmonitor_stats.admin.inc',
    ),
  );
}