function amp_dfp_requirements in Accelerated Mobile Pages (AMP) 7
Implements requirements().
File
- modules/
amp_dfp/ amp_dfp.install, line 11 - Contains amp_dfp.install.
Code
function amp_dfp_requirements($phase) {
$requirements = array();
$t = get_t();
if (!function_exists('dfp_token_replace')) {
$requirements['amp_dfp'] = array(
'title' => $t('Invalid DFP version.'),
'value' => $t('This module requires DFP >= 1.4'),
'severity' => REQUIREMENT_ERROR,
);
}
return $requirements;
}