function message_permission in Message 7
Implements hook_permission().
File
- ./
message.module, line 138 - API functions to manipulate messages.
Code
function message_permission() {
$permissions = array();
$permissions['administer message types'] = array(
'title' => t('Administer message types'),
'description' => t('Administer message types that can be used to log an event.'),
);
$permissions['create messages'] = array(
'title' => t('Create messages'),
'description' => t('Log new messages.'),
);
return $permissions;
}