function notifications_tags_term_name in Notifications 6.2
Same name and namespace in other branches
- 6.4 notifications_tags/notifications_tags.module \notifications_tags_term_name()
- 6 notifications_tags/notifications_tags.module \notifications_tags_term_name()
- 6.3 notifications_tags/notifications_tags.module \notifications_tags_term_name()
Fields information, translate term tid to name
1 string reference to 'notifications_tags_term_name'
- notifications_tags_notifications in notifications_tags/
notifications_tags.module - Implementation of hook_notifications().
File
- notifications_tags/
notifications_tags.module, line 144 - Subscriptions to taxonomy terms
Code
function notifications_tags_term_name($tid, $html = FALSE) {
if ($term = taxonomy_get_term($tid)) {
return $html ? l($term->name, "taxonomy/term/{$tid}") : check_plain($term->name);
}
}