summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2008-11-02 23:28:24 (GMT)
committer Joao Ventura2008-11-02 23:28:24 (GMT)
commit2314cdc503bc1c576a9b4f0b94489e46ff6c46e4 (patch)
tree1ec39ad26a5aa0336d6aa3bfeb0921c0fee43e1d
parent878e1ed079284e1f70978d934f7284d137fe58fd (diff)
Support latest hook_perm() implementation
-rw-r--r--print.module10
1 files changed, 8 insertions, 2 deletions
diff --git a/print.module b/print.module
index 464f6ab..304d070 100644
--- a/print.module
+++ b/print.module
@@ -51,8 +51,14 @@ define('PRINT_ALLOW_BOOK_LINK', 2);
*/
function print_perm() {
return array(
- 'access print' => t('Access the printer-friendly page'),
- 'administer print' => t('Perform maintenance tasks for the print module'),
+ 'access print' => array(
+ 'title' => t('Access the printer-friendly page'),
+ 'description' => t('View the printer-friendly pages and the links to them in the original pages.'),
+ ),
+ 'administer print' => array(
+ 'title' => t('Administer the module'),
+ 'description' => t('Perform maintenance tasks for the print module.'),
+ ),
);
}