function panels_get_content_types in Panels 5.2
Same name and namespace in other branches
- 5 panels.module \panels_get_content_types()
- 6.2 includes/plugins.inc \panels_get_content_types()
Fetch all content type plugins
Return value
An array of arrays with information about all available panel content types.
3 calls to panels_get_content_types()
- panels_common_settings in includes/
common.inc - A common settings page for Panels modules, because this code is relevant to any modules that don't already have special requirements.
- panels_get_all_content_types in includes/
plugins.inc - Get an array of all content types that can be fed into the display editor for the add content list, regardless of availability.
- panels_get_available_content_types in includes/
plugins.inc - Get an array of all available content types that can be fed into the display editor for the add content list.
File
- includes/
plugins.inc, line 1633 - plugins.inc
Code
function panels_get_content_types() {
return panels_get_plugins('content_types', 'panels_content_types');
}