You are here

function nodejs_notify_permission in Node.js integration 7

Implements hook_permission().

File

nodejs_notify/nodejs_notify.module, line 24

Code

function nodejs_notify_permission() {
  return array(
    'send nodejs broadcast' => array(
      'title' => t('Perform system-wide broadcasts.'),
      'description' => t('Perform system-wide broadcasts to all users.'),
    ),
    'administer nodejs_notify configuration' => array(
      'title' => t('Administer Node.js Notification Configuration'),
      'description' => t('Administer configuration for node.js notifications'),
    ),
  );
}