You are here

function google_analytics_counter_permission in Google Analytics Counter 7.2

Same name and namespace in other branches
  1. 7.3 google_analytics_counter.module \google_analytics_counter_permission()
  2. 7 google_analytics_counter.module \google_analytics_counter_permission()

Valid permissions for this module

Return value

array An array of valid permissions for the test_module module

File

./google_analytics_counter.module, line 19
Basic functions for this module.

Code

function google_analytics_counter_permission() {
  return array(
    /* Perhaps for later:
       'access google analytics counter' => array(
         'title' => t('Access Google Analytics Counter'),
         'description' => t('Set roles that may access the output of Google Analytics Counter.'),
         ),
       */
    'administer google analytics counter' => array(
      'title' => t('Administer Google Analytics Counter'),
      'description' => t('Set roles that may access the settings of Google Analytics Counter.'),
    ),
  );
}