You are here

function ad_text_theme in Advertisement 7

Same name and namespace in other branches
  1. 6.3 text/ad_text.module \ad_text_theme()
  2. 6 text/ad_text.module \ad_text_theme()
  3. 6.2 text/ad_text.module \ad_text_theme()

Implementation of hook_theme().

File

text/ad_text.module, line 14
Enhances the ad module to support static text ads.

Code

function ad_text_theme() {
  return array(
    'ad_text_ad' => array(
      'file' => 'ad_text.module',
      'arguments' => array(
        'ad' => NULL,
      ),
    ),
    'ad_text_text' => array(
      'file' => 'ad_text.module',
      'arguments' => array(
        'header' => NULL,
        'body' => NULL,
        'link' => NULL,
      ),
    ),
  );
}