You are here

function simple_adsense_theme in Simple AdSense 7

Same name and namespace in other branches
  1. 8.0 simple_adsense.module \simple_adsense_theme()
  2. 1.0.x simple_adsense.module \simple_adsense_theme()

Implements hook_theme().

File

./simple_adsense.module, line 91
Module file for Simple AdSense.

Code

function simple_adsense_theme($existing, $type, $theme, $path) {
  return array(
    'ad_unit' => array(
      'template' => 'ad_unit',
      'variables' => array(
        'slot' => NULL,
        'client' => NULL,
      ),
    ),
  );
}