You are here

function pwa_permission in Progressive Web App 7

Same name and namespace in other branches
  1. 7.2 pwa.module \pwa_permission()

Implements hook_permission().

File

./pwa.module, line 13

Code

function pwa_permission() {
  return [
    'administer pwa' => [
      'title' => t('Administer Progressive Web App configuration'),
      'restrict access' => TRUE,
    ],
    'access pwa' => [
      'title' => t('Access Progressive Web App'),
    ],
  ];
}