You are here

function amp_adsense_preprocess_amp_ad in Accelerated Mobile Pages (AMP) 7

Implements hook_preprocess_amp_ad().

File

modules/amp_adsense/amp_adsense.module, line 85
AMP integration for the Adsense module.

Code

function amp_adsense_preprocess_amp_ad() {
  if (!amp_is_amp_request()) {
    return;
  }
  _amp_adsense_headers();
}