You are here

function adsense_oldcode_theme in Google AdSense integration 8

Implements hook_theme().

File

oldcode/adsense_oldcode.module, line 25
Displays Google AdSense ads on Drupal pages using the pre-2007 code.

Code

function adsense_oldcode_theme() {
  return [
    'adsense_oldcode' => [
      'variables' => [
        'client' => '',
        'alt_url' => '',
        'alt_color' => '',
        'width' => '',
        'height' => '',
        'format' => '',
        'type' => '',
        'channel' => '',
        'border' => '',
        'bg' => '',
        'link' => '',
        'text' => '',
        'url' => '',
        'features' => '',
        'secret' => '',
      ],
    ],
    'adsense_oldsearch_form' => [
      'variables' => [
        'theme' => '',
        'country' => '',
        'bg_color' => '',
        'logo' => '',
        'logo_color' => '',
        'hidden_q' => FALSE,
        'domain' => '',
        'qsize' => '',
        'search_button' => '',
        'btn' => '',
        'box_text_color' => '',
        'domain_0' => '',
        'domain_1' => '',
        'domain_2' => '',
        'client' => '',
        'channel' => '',
        'encoding' => '',
        'safe_mode' => '',
        'url' => '',
        'border' => '',
        'visited' => '',
        'bg' => '',
        'logobg' => '',
        'title' => '',
        'text' => '',
        'light' => '',
        'language' => '',
      ],
    ],
  ];
}