You are here

function theme_user_relationships_request_relationship_link in User Relationships 5

Same name and namespace in other branches
  1. 5.3 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_request_relationship_link()
  2. 5.2 user_relationships_theme.inc \theme_user_relationships_request_relationship_link()
  3. 6 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_request_relationship_link()
  4. 7 user_relationships_ui/user_relationships_ui.theme.inc \theme_user_relationships_request_relationship_link()

Create relationship link

2 theme calls to theme_user_relationships_request_relationship_link()
user_relationships_get_relationship_actions in ./user_relationships.module
_user_relationships_actions_between in ./user_relationships.module
List of pending relationships with between two users

File

./user_relationships_theme.inc, line 168

Code

function theme_user_relationships_request_relationship_link(&$relate_to) {
  return l(t('Create a relationship with %name', array(
    '%name' => $relate_to->name,
  )), 'relationship/request/' . $relate_to->uid, NULL, drupal_get_destination(), NULL, FALSE, TRUE);
}