function theme_user_relationships_remove_link in User Relationships 5
Same name and namespace in other branches
- 5.3 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_remove_link()
- 5.2 user_relationships_theme.inc \theme_user_relationships_remove_link()
- 6 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_remove_link()
- 7 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_remove_link()
Remove relationship link
3 theme calls to theme_user_relationships_remove_link()
- theme_user_relationships_page in ./
user_relationships_theme.inc - Categorized list of relationships for a given user
- theme_user_relationship_implications_page in plugins/
user_relationship_implications/ user_relationship_implications.module - Categorized list of relationships for a given user
- _user_relationships_between in ./
user_relationships.module - List of relationships between two users
File
- ./
user_relationships_theme.inc, line 175
Code
function theme_user_relationships_remove_link($uid, &$relationship) {
return l(t('Remove'), "relationship/{$uid}/remove/{$relationship->rid}", NULL, drupal_get_destination(), NULL, FALSE, TRUE);
}