function ctools_get_content_type
Fetch metadata on a specific content_type plugin.
Parameters
mixed $content: Name of a panel content type.
Return value
An array with information about the requested panel content type.
9 calls to ctools_get_content_type()
- ctools_content_admin_info in includes/
content.inc - Get the administrative title from a given content type.
- ctools_content_admin_title in includes/
content.inc - Get the administrative title from a given content type.
- ctools_content_get_subtype in includes/
content.inc - Given a content type and a subtype id, return the information about that content subtype.
- ctools_content_get_subtypes in includes/
content.inc - Get all of the individual subtypes 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.
- ctools_content_render in includes/
content.inc - Get the content from a given content type.
File
-
includes/
content.inc, line 95
Code
function ctools_get_content_type($content_type) {
ctools_include('context');
ctools_include('plugins');
return ctools_get_plugins('ctools', 'content_types', $content_type);
}