function ctools_get_content_types in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/content.inc \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 - Implementation of hook_theme to load all content plugins and pass thru if necessary.
File
- includes/
content.inc, line 119 - Contains the tools to handle pluggable content that can be used by other applications such as Panels or Dashboard.
Code
function ctools_get_content_types() {
ctools_include('context');
ctools_include('plugins');
return ctools_get_plugins('ctools', 'content_types');
}