You are here

function piwik_reports_permission in Piwik Reports 7.4

Same name and namespace in other branches
  1. 7.3 piwik_reports.module \piwik_reports_permission()

Implements hook_permission().

File

./piwik_reports.module, line 25
Defines features and functions common to Piwik Reports.

Code

function piwik_reports_permission() {
  return array(
    'access piwik reports' => array(
      'title' => t('Piwik reports access'),
      'description' => t('Allow access to Piwik reports.'),
    ),
    'administer piwik reports' => array(
      'title' => t('Administer Piwik reports'),
      'description' => t('Perform basic configuration tasks for Piwik reports.'),
    ),
  );
}