function _adsense_is_fluid in Google AdSense integration 7
Helper function to determine if an ad format is fluid.
Parameters
string $format: Ad format.
Return value
bool TRUE if the ad is fluid.
2 calls to _adsense_is_fluid()
- theme_adsense_ad in ./
adsense.module - Default AdSense ad unit theming.
- _adsense_managed_get_ad in managed/
adsense_managed.module - Generates the AdSense ad.
File
- ./
adsense.module, line 549 - Displays Google AdSense ads on Drupal pages.
Code
function _adsense_is_fluid($format) {
return in_array($format, array(
'in-article',
'in-feed',
));
}