function search_api_page_search_box_content_type_admin_title in Search API Pages 7
Returns the administrative title for a type.
1 string reference to 'search_api_page_search_box_content_type_admin_title'
- search_api_page_search_box.inc in plugins/
content_types/ search_api_page_search_box.inc
File
- plugins/
content_types/ search_api_page_search_box.inc, line 89
Code
function search_api_page_search_box_content_type_admin_title($subtype, $conf, $context) {
$info = search_api_page_load($conf['page']);
$page = isset($info->name) ? $info->name : t('Missing/broken type');
return t('%page Search API page search box', array(
'%page' => $page,
));
}