You are here

function adsense_theme in Google AdSense integration 6

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

Implementation of hook_theme().

File

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

Code

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