You are here

function panels_mini_panels_mini_content_type_content_type in Panels 6.3

Same name and namespace in other branches
  1. 7.3 panels_mini/plugins/content_types/panels_mini.inc \panels_mini_panels_mini_content_type_content_type()

Return each available mini panel available as a subtype.

1 string reference to 'panels_mini_panels_mini_content_type_content_type'
panels_mini_panels_mini_ctools_content_types in panels_mini/plugins/content_types/panels_mini.inc
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 27
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_content_type_content_type($subtype_id, $plugin) {
  $mini = panels_mini_load($subtype_id);
  return _panels_mini_panels_mini_content_type_content_type($mini);
}