function ctools_get_contexts
Fetch metadata for all context plugins.
Return value
array An array of arrays with information about all available panel contexts.
4 calls to ctools_get_contexts()
- ctools_context_add_context_form in includes/
context-admin.inc - ctools_context_add_required_context_form in includes/
context-admin.inc - ctools_context_admin_includes in includes/
context-admin.inc - Include all context administrative include files, css, javascript.
- ctools_context_get_all_converters in includes/
context.inc - Get a list of all contexts converters available.
File
-
includes/
context.inc, line 1486
Code
function ctools_get_contexts() {
ctools_include('plugins');
return ctools_get_plugins('ctools', 'contexts');
}