You are here

function panels_get_content_type in Panels 6.2

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

Fetch metadata on a specific content_type plugin.

Parameters

$content type: Name of a panel content type.

Return value

An array with information about the requested panel content type.

8 calls to panels_get_content_type()
panels_add_content in includes/display-edit.inc
panels_ajax_add_pane_config in includes/display-edit.inc
AJAX entry point for to configure a pane that has just been added.
panels_ajax_configure_pane in includes/display-edit.inc
AJAX entry point for to configure a pane that has just been added.
panels_ct_get_types in includes/plugins.inc
Get all of the individual types provided by a given content type. This would be all of the blocks for the block type, or all of the views for the view type.
panels_pane_access in includes/plugins.inc
Master pane access function; combines all the relevant parameters that natively used by the Panels API to determine a pane's access. Called from panels_render_panes().

... See full list

File

includes/plugins.inc, line 1646
plugins.inc

Code

function panels_get_content_type($content_type) {
  return panels_get_plugins('content_types', 'panels_content_types', $content_type);
}