function mail_debugger_php_permission in Mail Debugger 7.3
Implement hook_permission(); Define permission for using the module.
Return value
array
File
- modules/
php/ mail_debugger_php.module, line 29
Code
function mail_debugger_php_permission() {
return array(
'use mail debugger php' => array(
'title' => t('Use mail debugger php'),
// since we expose a PHP interface to the front-end: warn the system admin.
'restrict access' => TRUE,
),
);
}