function panopoly_search_search_box_content_type_admin_title in Panopoly Search 7
Returns the administrative title for a type.
File
- plugins/
content_types/ search_box/ search_box.inc, line 156 - Definition of the 'search form' panel content type
Code
function panopoly_search_search_box_content_type_admin_title($subtype, $conf, $context) {
$info = search_get_info();
$type = isset($info[$conf['type']]['title']) ? $info[$conf['type']]['title'] : t('Missing/broken type');
return t('@type search form', array(
'@type' => $type,
));
}