function panels_get_contexts in Panels 6.2
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_get_contexts()
Fetch metadata for all context plugins.
Return value
An array of arrays with information about all available panel contexts.
3 calls to panels_get_contexts()
- panels_common_add_context_form in includes/
common-context.inc - panels_common_add_required_context_form in includes/
common-context.inc - panels_plugin_display_panel_pane::options_form in panels_views/
panels_plugin_display_panel_pane.inc - Provide the default form for setting options.
File
- includes/
plugins.inc, line 1702 - plugins.inc
Code
function panels_get_contexts() {
return panels_get_plugins('contexts', 'panels_contexts');
}