You are here

function panels_get_renderer_pipelines in Panels 7.3

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

Get a list of available renderer pipelines.

This can be used to form a select or radios widget by enabling sorting. Descriptions are left in.

3 calls to panels_get_renderer_pipelines()
panels_admin_settings_page in includes/callbacks.inc
panels_node_hook_form in panels_node/panels_node.module
Implementation of hook_form().
panels_panel_context_edit_settings in plugins/task_handlers/panel_context.inc
General settings for the panel.

File

includes/plugins.inc, line 471
Contains helper code for plugins and contexts.

Code

function panels_get_renderer_pipelines($sort = TRUE) {
  ctools_include('export');
  $pipelines = ctools_export_crud_load_all('panels_renderer_pipeline');
  if ($sort) {
    uasort($pipelines, '_panels_renderer_pipeline_sort');
  }
  return $pipelines;
}