You are here

function _panels_context_select in Panels 5.2

Same name and namespace in other branches
  1. 6.2 includes/plugins.inc \_panels_context_select()
1 call to _panels_context_select()
panels_context_select in includes/plugins.inc
Choose a context based upon the selection made via panels_context_filter

File

includes/plugins.inc, line 1070
plugins.inc

Code

function _panels_context_select($contexts, $required, $context) {
  if (!is_object($required)) {
    return FALSE;
  }
  return $required
    ->select($contexts, $context);
}