You are here

function panels_get_contexts in Panels 5.2

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

Fetch 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.inc
panels_common_add_required_context_form in includes/common.inc
panels_views_edit_view_form in panels_views/panels_views.module
Form to add or edit add a view pane.

File

includes/plugins.inc, line 1679
plugins.inc

Code

function panels_get_contexts() {
  return panels_get_plugins('contexts', 'panels_contexts');
}