You are here

function hook_user_relationships_save in User Relationships 7

This hook is executed after a relationship has been updated.

Parameters

$relationship: Relationship object.

$action: The reason for the update (request, approve, update).

See also

user_relationships_save_relationship()

3 functions implement hook_user_relationships_save()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

user_relationships_rules_user_relationships_save in user_relationships_rules/user_relationships_rules.module
Implements hook_user_relationships_save().
user_relationship_implications_user_relationships_save in user_relationship_implications/user_relationship_implications.module
Implements hook_user_relationships_save().
user_relationship_mailer_user_relationships_save in user_relationship_mailer/user_relationship_mailer.module
Implements hook_user_relationships_save().
2 invocations of hook_user_relationships_save()
drush_user_relationships_generate_user_relationships in ./user_relationships.drush.inc
Generate relationships.
user_relationships_save_relationship in ./user_relationships.module
Create or update a user relationship.

File

./user_relationships.api.php, line 102
This file documents all hooks for user_relationships.module

Code

function hook_user_relationships_save($relationship, $action) {
}