You are here

function theme_amazon_inline_item__games in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 amazon_media/amazon_media.module \theme_amazon_inline_item__games()
1 string reference to 'theme_amazon_inline_item__games'
amazon_media_theme in amazon_media/amazon_media.module
Implements hook_theme().

File

amazon_media/amazon_media.module, line 256
Provides additional behaviors and data type for amazon items which are DVDs, software, video games, music, etc.

Code

function theme_amazon_inline_item__games($item) {
  $output = '';
  $output .= '<span class="' . _amazon_item_classes($item) . ' amazon-item-inline">';
  $output .= l($item['title'] . ' (' . $item['hardwareplatform'] . ')', $item['detailpageurl'], array(
    'attributes' => array(
      'rel' => 'nofollow',
    ),
  ));
  $output .= '</span>';
  return $output;
}