You are here

function ctools_context_get_converters in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context.inc \ctools_context_get_converters()

Get a list of converters available for a given context.

5 calls to ctools_context_get_converters()
ctools_custom_content_type_edit_form in plugins/content_types/custom/custom.inc
Returns an edit form for the custom type.
theme_ctools_context_list in includes/context.theme.inc
Create a visible list of all the contexts available on an object. Assumes arguments, relationships and context objects.
views_content_views_content_type_admin_info in views_content/plugins/content_types/views.inc
Returns the administrative title for a type.
views_content_views_panes_content_type_edit_form in views_content/plugins/content_types/views_panes.inc
Returns an edit form for a block.
_ctools_context_converter_selector in includes/context.inc

File

includes/context.inc, line 433
Contains code related to the ctools system of 'context'.

Code

function ctools_context_get_converters($cid, $context) {
  if (empty($context->plugin)) {
    return array();
  }
  return _ctools_context_get_converters($cid, $context->plugin);
}