You are here

function panels_pane_select_context in Panels 6.3

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_pane_select_context()
  2. 6.2 includes/plugins.inc \panels_pane_select_context()

Select a context for a pane.

Parameters

$pane: A fully populated pane.

$contexts: A keyed array of available contexts.

Return value

The matching contexts or NULL if none or necessary, or FALSE if requirements can't be met.

Deprecated

this function will be removed.

Related topics

File

./panels.module, line 1687
panels.module

Code

function panels_pane_select_context($pane, $contexts) {
  return ctools_content_select_context($pane->type, $pane->subtype, $pane->configuration, $contexts);
}