You are here

function panels_content_custom in Panels 5

Same name and namespace in other branches
  1. 5.2 content_types/custom.inc \panels_content_custom()
  2. 6.2 content_types/custom.inc \panels_content_custom()

Output function for the 'custom' content type. Outputs a custom based on the module and delta supplied in the configuration.

1 string reference to 'panels_content_custom'
panels_custom_panels_content_types in content_types/custom.inc
Callback function to supply a list of content types.

File

content_types/custom.inc, line 17

Code

function panels_content_custom($conf) {
  $title = filter_xss_admin($conf['title']);
  $css_id = filter_xss_admin($conf['css_id']);
  $css_class = filter_xss_admin($conf['css_class']);
  $body = check_markup($conf['body'], $conf['format'], FALSE);
  return theme('panels_content_custom', $title, $body, $css_id, $css_class);
}