You are here

function ad_link_attributes in Advertisement 6.2

Same name and namespace in other branches
  1. 5.2 ad.module \ad_link_attributes()
  2. 5 ad.module \ad_link_attributes()
  3. 6 ad.module \ad_link_attributes()
  4. 7 ad.module \ad_link_attributes()

Ad API Helper Function: Append all necessary attributes to <a> tags.

2 calls to ad_link_attributes()
theme_ad_image_ad in image/ad_image.module
Return a themed ad of type ad_image.
theme_ad_text_text in text/ad_text.module
Return a themed text ad.

File

./ad.module, line 267

Code

function ad_link_attributes() {
  return array_merge(ad_link_target(TRUE), ad_link_nofollow(TRUE));
}