function ctools_context_get_all_converters in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/context.inc \ctools_context_get_all_converters()
Get a list of all contexts + converters available.
1 call to ctools_context_get_all_converters()
- views_content_plugin_display_panel_pane::options_form in views_content/
plugins/ views/ views_content_plugin_display_panel_pane.inc - Provide the default form for setting options.
File
- includes/
context.inc, line 482 - Contains code related to the ctools system of 'context'.
Code
function ctools_context_get_all_converters() {
$contexts = ctools_get_contexts();
$converters = array();
foreach ($contexts as $name => $context) {
$context_converters = _ctools_context_get_converters($name . '.', $name);
if ($context_converters) {
$converters[$context['title']] = $context_converters;
}
}
return $converters;
}