You are here

function panels_get_context in Panels 5.2

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

Fetch a context plugin

Parameters

$context: Name of a panel context.

Return value

An array with information about the requested panel context.

1 call to panels_get_context()
panels_mini_content_types in panels_mini/panels_mini.module
Return each available mini panel available as a subtype.
1 string reference to 'panels_get_context'
panels_common_context_info in includes/common.inc

File

includes/plugins.inc, line 1669
plugins.inc

Code

function panels_get_context($context) {
  return panels_get_plugins('contexts', 'panels_contexts', $context);
}