You are here

function panels_admin_title_custom_php in Panels 6.2

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

Returns the administrative title for a type.

1 string reference to 'panels_admin_title_custom_php'
panels_custom_php_panels_content_types in content_types/custom_php.inc
Callback function to supply a list of content types.

File

content_types/custom_php.inc, line 117

Code

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