function panels_mini_panels_mini_ctools_content_types in Panels 6.3
Same name and namespace in other branches
- 7.3 panels_mini/plugins/content_types/panels_mini.inc \panels_mini_panels_mini_ctools_content_types()
Specially named hook. for .inc file. This looks a little silly due to the redundancy, but that's really just because the content type shares a name with the module.
File
- panels_mini/
plugins/ content_types/ panels_mini.inc, line 17 - Contains the content type plugin for a mini panel. While this does not need to be broken out into a .inc file, it's convenient that we do so that we don't load code unneccessarily. Plus it demonstrates plugins in modules other than Panels…
Code
function panels_mini_panels_mini_ctools_content_types() {
return array(
'title' => t('Mini panels'),
'content type' => 'panels_mini_panels_mini_content_type_content_type',
);
}