You are here

function _readonlymode_default_forms_allowed in Read only mode 7

Same name and namespace in other branches
  1. 6 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_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 327
The Read Ony Mode main module file.

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_mode',
    'views_exposed_form',
  );
}