You are here

function ad_image_theme in Advertisement 6.3

Same name and namespace in other branches
  1. 6 image/ad_image.module \ad_image_theme()
  2. 6.2 image/ad_image.module \ad_image_theme()
  3. 7 image/ad_image.module \ad_image_theme()

Implementation of hook_theme().

File

image/ad_image.module, line 79
Enhances the ad module to support banner ads.

Code

function ad_image_theme() {
  return array(
    'ad_image_ad' => array(
      'file' => 'ad_image.module',
      'arguments' => array(
        'ad' => NULL,
      ),
    ),
    'ad_image_image' => array(
      'file' => 'ad_image.module',
      'arguments' => array(
        'path' => NULL,
        'alt' => '',
        'tooltip' => '',
        'attributes' => NULL,
        'getsize' => TRUE,
      ),
    ),
  );
}