function adsense_permission in Google AdSense integration 7
Implements hook_permission().
File
- ./
adsense.module, line 133 - Displays Google AdSense ads on Drupal pages.
Code
function adsense_permission() {
return array(
'administer adsense' => array(
'title' => t('Administer AdSense settings'),
'description' => t('Perform administration tasks for AdSense.'),
),
'hide adsense' => array(
'title' => t('Hide AdSense'),
'description' => t('Hide AdSense ads for this role.'),
),
'show adsense placeholders' => array(
'title' => t('Show AdSense placeholders'),
'description' => t('Show AdSense placeholders for this role.'),
),
'use PHP for ad visibility' => array(
'title' => t('Can use PHP for AdSense visibility'),
),
);
}