You are here

function context_breakpoint_get_active_breakpoints in Context Breakpoint 7

Extract active breakpoints from cookie.

Return value

array

1 call to context_breakpoint_get_active_breakpoints()
context_breakpoint_url_outbound_alter in ./context_breakpoint.module

File

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

Code

function context_breakpoint_get_active_breakpoints() {
  if (isset($_COOKIE['context_breakpoints'])) {
    return explode(',', $_COOKIE['context_breakpoints']);
  }
  else {
    return null;
  }
}