You are here

function dfp_theme in Doubleclick for Publishers (DFP) 8

Same name and namespace in other branches
  1. 7.2 dfp.module \dfp_theme()
  2. 7 dfp.module \dfp_theme()

Implements hook_theme().

File

./dfp.module, line 25
The DFP module.

Code

function dfp_theme() {
  return [
    'dfp_tag' => [
      'variables' => [
        'tag' => NULL,
      ],
    ],
    'dfp_short_tag' => [
      'variables' => [
        'tag' => NULL,
        'url_jump' => NULL,
        'url_ad' => NULL,
      ],
    ],
    'dfp_js_head_top' => [
      'variables' => [
        'google_tag_services_url' => NULL,
      ],
    ],
    'dfp_js_head_bottom' => [
      'variables' => [
        'async_rendering' => NULL,
        'single_request' => NULL,
        'collapse_empty_divs' => NULL,
        'disable_init_load' => NULL,
        'targeting' => [],
      ],
    ],
    'dfp_slot_definition_js' => [
      'variables' => [
        'tag' => NULL,
      ],
    ],
  ];
}