You are here

function panels_admin_title_custom in Panels 6.2

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

Returns the administrative title for a type.

1 string reference to 'panels_admin_title_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 106

Code

function panels_admin_title_custom($subtype, $conf) {
  $output = t('Custom');
  if (!empty($conf['title'])) {
    $output .= " (" . filter_xss_admin($conf['title']) . ")";
  }
  return $output;
}