function ctools_get_content_types
Fetch metadata for all content_type plugins.
Return value
An array of arrays with information about all available panel content types.
3 calls to ctools_get_content_types()
- ctools_content_get_all_types in includes/
content.inc - Get an array of all content types that can be fed into the display editor for the add content list, regardless of availability.
- ctools_content_get_available_types in includes/
content.inc - Get an array of all available content types that can be fed into the display editor for the add content list.
- ctools_content_theme in includes/
content.theme.inc - Implements hook_theme to load all content plugins and pass thru if necessary.
File
-
includes/
content.inc, line 107
Code
function ctools_get_content_types() {
ctools_include('context');
ctools_include('plugins');
return ctools_get_plugins('ctools', 'content_types');
}