You are here

function _ctools_context_select in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context.inc \_ctools_context_select()
1 call to _ctools_context_select()
ctools_context_select in includes/context.inc
Choose a context or contexts based upon the selection made via ctools_context_filter.

File

includes/context.inc, line 537
Contains code related to the ctools system of 'context'.

Code

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