You are here

function panels_get_context in Panels 6.2

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

Fetch metadata on a specific 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-context.inc
Provide a list of the ways contexts can be embedded.

File

includes/plugins.inc, line 1692
plugins.inc

Code

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