You are here

protected function ContextConditionBreakpoint::isAdminPage in Context Breakpoint 7

1 call to ContextConditionBreakpoint::isAdminPage()
ContextConditionBreakpoint::getJSConfig in plugins/context_condition_breakpoint.inc

File

plugins/context_condition_breakpoint.inc, line 103
context_condition_resolution.inc Provides the context CTools plugin base class.

Class

ContextConditionBreakpoint
@file context_condition_resolution.inc Provides the context CTools plugin base class.

Code

protected function isAdminPage() {
  $parts = explode('/', $_GET['q']);
  return count($parts) && $parts[0] === 'admin';
}