You are here

function hook_user_relationships_delete in User Relationships 7

This hook is executed before a relationship will be saved.

Parameters

$relationship: Relationship object.

$action: String reason for removal ('cancel','disapprove','remove').

See also

user_relationships_delete_relationship()

4 functions implement hook_user_relationships_delete()

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_delete in user_relationships_rules/user_relationships_rules.module
Implements hook_user_relationships_delete().
user_relationship_elaborations_user_relationships_delete in user_relationship_elaborations/user_relationship_elaborations.module
Implements hook_user_relationships_delete().
user_relationship_implications_user_relationships_delete in user_relationship_implications/user_relationship_implications.module
Implements hook_user_relationships_delete().
user_relationship_mailer_user_relationships_delete in user_relationship_mailer/user_relationship_mailer.module
Implements hook_user_relationships_delete().
2 invocations of hook_user_relationships_delete()
user_relationships_cron in ./user_relationships.module
Implements hook_cron()
user_relationships_delete_relationship in ./user_relationships.module
Public API for deleting a relationship.

File

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

Code

function hook_user_relationships_delete($relationship, $action) {
}