You are here

function user_relationships_type_translations in User Relationships 7

21 calls to user_relationships_type_translations()
theme_user_relationships_request_relationship_direct_link in user_relationships_ui/user_relationships_ui.theme.inc
Create a direct relationship link
theme_user_relationship_block_subject in user_relationship_blocks/user_relationship_blocks.module
Theme function to generate the title of a block
theme_user_relationship_implications_page in user_relationship_implications/user_relationship_implications.module
Categorized list of relationships for a given user
theme_user_relationship_privatemsg_format in user_relationship_privatemsg/user_relationship_privatemsg.module
Format a relationship for displaying as recipient.
user_relationships-block.tpl.php in user_relationship_blocks/templates/user_relationships-block.tpl.php

... See full list

File

./user_relationships.module, line 1100
User Relationships API. Module shell.

Code

function user_relationships_type_translations($relationship_type) {
  return array(
    '@rel_name' => user_relationships_type_get_name($relationship_type),
    '@rel_name_plural' => user_relationships_type_get_name($relationship_type, TRUE),
    '@Rel_name' => user_relationships_type_get_name($relationship_type, FALSE, FALSE, TRUE),
    '@Rel_name_plural' => user_relationships_type_get_name($relationship_type, TRUE, FALSE, TRUE),
  );
}