You are here

function yandex_metrics_permission in Yandex.Metrics 7

Same name and namespace in other branches
  1. 8.2 yandex_metrics.module \yandex_metrics_permission()
  2. 7.3 yandex_metrics.module \yandex_metrics_permission()
  3. 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'),
    ),
  );
}