function readonlymode_permission in Read only mode 7
Implements hook_permission().
Create permission to allow access to forms while in read only mode
File
- ./
readonlymode.module, line 50 - The Read Ony Mode main module file.
Code
function readonlymode_permission() {
return array(
'readonlymode access forms' => array(
'title' => t('Access all forms while in <em>Read Only Mode</em>'),
),
);
}