You are here

function context_breakpoint_get_settings in Context Breakpoint 7

Get global module settings.

Return value

array

4 calls to context_breakpoint_get_settings()
ContextConditionBreakpoint::getJSConfig in plugins/context_condition_breakpoint.inc
context_breakpoint_admin_settings_form in ./context_breakpoint.module
context_breakpoint_url_outbound_alter in ./context_breakpoint.module
_context_breakpoint_check_disable_cache in ./context_breakpoint.module
If the contexts are added to the url, wee need to disable caching if the users contexts in the cookie differ from the ones in the url.

File

./context_breakpoint.module, line 95
context_screenresolution.module Main module file.

Code

function context_breakpoint_get_settings() {
  $settings = variable_get(CONTEXT_BREAKPOINT_SETTINGS, array(
    'save_resolution' => false,
    'breakpoints_in_url' => false,
    'admin_disable_reload' => false,
  ));
  return $settings;
}