You are here

function pwa_webpush_permission in Progressive Web App 7.2

Implements hook_permission().

File

modules/pwa_webpush/pwa_webpush.module, line 27

Code

function pwa_webpush_permission() {
  return [
    'access pwa webpush' => [
      'title' => t('Access to PWA Push notifications'),
    ],
    'administer pwa webpush' => [
      'title' => t('Administer PWA Push notifications'),
      'restrict access' => TRUE,
    ],
  ];
}