You are here

function simplenews_statistics_ga_permission in Simplenews Statistics 7.2

Same name and namespace in other branches
  1. 7 simplenews_statistics_ga/simplenews_statistics_ga.module \simplenews_statistics_ga_permission()

Implements hook_permission().

File

simplenews_statistics_ga/simplenews_statistics_ga.module, line 26
Main simplenews statistics Google Analytics file.

Code

function simplenews_statistics_ga_permission() {
  $perms = array(
    'administer GA for newsletter statistics' => array(
      'title' => t('administer GA for newsletter statistics'),
      'description' => t('Allows to administer Google Analytics settings for newsletter statistics. Give to only trusted roles.'),
    ),
  );
  return $perms;
}