function _readonlymode_default_forms_allowed in Read only mode 6
Same name and namespace in other branches
- 7 readonlymode.module \_readonlymode_default_forms_allowed()
Our base forms allowed during read-only mode.
2 calls to _readonlymode_default_forms_allowed()
- readonlymode_form_system_site_maintenance_settings_alter in ./
readonlymode.module - Implementation of hook_form_FORM_ID_alter(). Alter the Site Maintenance form
- _readonlymode_form_check in ./
readonlymode.module - Internal handler to check whether this form is to be restricted. Returns TRUE if the form is allowed, FALSE otherwise.
File
- ./
readonlymode.module, line 224 - Read Only Mode provides an alternate to the built in 'Maintenance Mode' in Drupal. Instead of displaying a static text file to users while the site is in maintenance mode, Read Only Mode will allow access (reading) of new content while…
Code
function _readonlymode_default_forms_allowed() {
return array(
'read_only',
'user_pass',
'user_login',
'user_login_block',
'search_form',
'search_block_form',
'system_modules',
'system_site_maintenance_settings',
);
}