function _assets_form_page_title in Asset 7
Title callback function.
1 string reference to '_assets_form_page_title'
- asset_menu in ./
asset.module - Implements hook_menu().
File
- ./
asset.module, line 1138 - Asset module.
Code
function _assets_form_page_title($type) {
if ($type = substr($type, 6)) {
$type_obj = assets_get_types($type);
if (!empty($type_obj->name)) {
return t('Add @asset_type_name', array(
'@asset_type_name' => $type_obj->name,
));
}
}
return t('Add asset');
}