function maillog_permission in Maillog / Mail Developer 7
Implements hook_permision().
File
- ./
maillog.module, line 22 - Primary hook implementations for the Maillog module.
Code
function maillog_permission() {
return array(
'view maillog' => array(
'title' => t('View Maillog'),
'description' => t('Allow users to view a list of recently logged mails.'),
'restrict access' => TRUE,
),
'delete maillog' => array(
'title' => t('Delete Entries from the log'),
'description' => t('Allow users to delete logged mails.'),
'restrict access' => TRUE,
),
'administer maillog' => array(
'title' => t('Administer Maillog'),
'description' => t('Allow users to change maillog seetings.'),
'restrict access' => TRUE,
),
);
}