function panels_get_content_type in Panels 5.2
Same name and namespace in other branches
- 6.2 includes/plugins.inc \panels_get_content_type()
Fetch a content_type plugin
Parameters
$content type: Name of a panel content type.
Return value
An array with information about the requested panel content type.
6 calls to panels_get_content_type()
- panels_ct_get_types in includes/
plugins.inc - Get all of the individual types provided by a given content types. 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().
- panels_render_panes in ./
panels.module - Render all the panes in a display into a $content array to be used by the display theme function.
- panels_save_display in ./
panels.module - Save a display object.
- panels_show_pane in includes/
display_edit.inc
File
- includes/
plugins.inc, line 1623 - plugins.inc
Code
function panels_get_content_type($content_type) {
return panels_get_plugins('content_types', 'panels_content_types', $content_type);
}