function yandex_metrics_permission in Yandex.Metrics 7
Same name and namespace in other branches
- 8.2 yandex_metrics.module \yandex_metrics_permission()
 - 7.3 yandex_metrics.module \yandex_metrics_permission()
 - 7.2 yandex_metrics.module \yandex_metrics_permission()
 
Implementation of hook_permission().
File
- ./
yandex_metrics.module, line 32  - The main code of Yandex.Metrics module.
 
Code
function yandex_metrics_permission() {
  return array(
    'administer Yandex.Metrics settings' => array(
      'title' => t('Administer Yandex.Metrics Settings'),
    ),
    'access Yandex.Metrics report' => array(
      'title' => t('Access Yandex.Metrics report'),
    ),
  );
}