You are here

function adsense_theme in Google AdSense integration 7

Same name and namespace in other branches
  1. 8 adsense.module \adsense_theme()
  2. 6 adsense.module \adsense_theme()

Implements hook_theme().

File

./adsense.module, line 156
Displays Google AdSense ads on Drupal pages.

Code

function adsense_theme() {
  return array(
    'adsense_ad' => array(
      'variables' => array(
        'ad' => NULL,
        'module' => NULL,
        'format' => NULL,
      ),
    ),
    'adsense_placeholder' => array(
      'variables' => array(
        'text' => NULL,
        'width' => 0,
        'height' => 0,
      ),
    ),
  );
}