Commit 2314cdc5 authored by jcnventura's avatar jcnventura

Support latest hook_perm() implementation

parent 878e1ed0
......@@ -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.'),
),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment