function piwik_stats_permission in Piwik Statistic Integration 7.2
Same name and namespace in other branches
- 7 piwik_stats.module \piwik_stats_permission()
Implements hook_permission().
File
- ./
piwik_stats.module, line 164 - Integrates piwik statistics as entity fields.
Code
function piwik_stats_permission() {
return array(
// Permission for accessing the statistics tab on nodes, users etc.
'access piwik information' => array(
'description' => t('View piwik statistics tab on nodes, users etc.'),
'title' => t('Access piwik information'),
),
);
}