You are here

function _readonlymode_default_forms_viewonly in Read only mode 7

Same name and namespace in other branches
  1. 6 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_mode_alter in ./readonlymode.module
Implements hook_form_FORM_ID_alter().
_readonlymode_form_check in ./readonlymode.module
Internal handler to check whether this form is to be restricted.

File

./readonlymode.module, line 344
The Read Ony Mode main module file.

Code

function _readonlymode_default_forms_viewonly() {
  return array(
    'node_admin_content',
    'comment_admin_overview',
  );
}