You are here

function query_parameters_to_url_redirect_protection_enabled in Query Parameters To URL 7

Returns the variable value if redirect loop protection is enabled.

2 calls to query_parameters_to_url_redirect_protection_enabled()
query_parameters_to_url_admin_settings in ./query_parameters_to_url.admin.inc
Admin settings page callback.
query_parameters_to_url_protect_redirect_loop in ./query_parameters_to_url.module
Protects against a redirect loop.
1 string reference to 'query_parameters_to_url_redirect_protection_enabled'
query_parameters_to_url.module in ./query_parameters_to_url.module
Query Arguments To URL module.

File

./query_parameters_to_url.module, line 104
Query Arguments To URL module.

Code

function query_parameters_to_url_redirect_protection_enabled() {
  return variable_get(QUERY_PARAMETERS_TO_URL_REDIRECT_PROTECTION_ENABLED, TRUE);
}