You are here

function _readonlymode_default_forms_viewonly in Read only mode 6

Same name and namespace in other branches
  1. 7 readonlymode.module \_readonlymode_default_forms_viewonly()

Our base forms allowed for view during read-only mode.

2 calls to _readonlymode_default_forms_viewonly()
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 240
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_viewonly() {
  return array(
    'node_admin_content',
    'comment_admin_overview',
  );
}