function biblio_bundle_name in Bibliography Module 7.2
Gets the title of a bundle for a given entity type
Parameters
string $entity_type:
Return value
string
3 calls to biblio_bundle_name()
- biblio_entity_info in ./
biblio.module - Implements hook_entity_info().
- biblio_menu in ./
biblio.module - Implements hook_menu().
- biblio_types in ./
biblio.module - Gets all publication types that are set up by default.
File
- ./
biblio.module, line 2715
Code
function biblio_bundle_name($entity_type) {
switch ($entity_type) {
case 'biblio':
return 'publication_type';
break;
default:
return 'type';
break;
}
}