function mailsystem_permission in Mail System 8.2
Same name and namespace in other branches
- 7.3 mailsystem.module \mailsystem_permission()
- 7.2 mailsystem.module \mailsystem_permission()
Implements hook_permission().
Defines a permission for managing the mail_system variable.
File
- ./
mailsystem.module, line 29 - Provide UI for controlling the mail_system variable.
Code
function mailsystem_permission() {
return array(
'administer mailsystem' => array(
'title' => t('Administer Mail System'),
'description' => t('Select the default, per-module, and per-mailing <a href="!interface"><code>@interface</code></a> to use for formatting and sending email messages.', array(
'!interface' => url('http://api.drupal.org/api/drupal/includes--mail.inc/interface/MailSystemInterface/8'),
'@interface' => 'MailSystemInterface',
)),
),
);
}