function panels_admin_title_custom_php in Panels 5.2
Same name and namespace in other branches
- 6.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 118
Code
function panels_admin_title_custom_php($conf) {
$output = t('Custom PHP with context');
if ($conf['title']) {
$output .= " (" . filter_xss_admin($conf['title']) . ")";
}
return $output;
}