function panels_admin_title_block in Panels 5.2
Same name and namespace in other branches
- 6.2 content_types/block.inc \panels_admin_title_block()
Returns the administrative title for a type.
1 string reference to 'panels_admin_title_block'
- panels_block_panels_content_types in content_types/
block.inc - Callback function to supply a list of content types.
File
- content_types/
block.inc, line 205
Code
function panels_admin_title_block($conf) {
$block = module_invoke($conf['module'], 'block', 'list');
if (empty($block) || empty($block[$conf['delta']])) {
return t('Deleted/missing block @module-@delta', array(
'@module' => $conf['module'],
'@delta' => $conf['delta'],
));
}
$title = filter_xss_admin($block[$conf['delta']]['info']);
return $title;
}