You are here

function site_alert_permission in Site Alert 7

Create a new permission to administer Site Alerts.

This permission can be given to any role.

File

./site_alert.module, line 167
Core functionality for the Site Alert module.

Code

function site_alert_permission() {
  return array(
    'administer alerts settings' => array(
      'title' => t('Administer alerts settings'),
      'description' => t('Allow users to administer alerts settings'),
    ),
  );
}