You are here

function hook_content_lock_locked in Content locking (anti-concurrent editing) 7

Same name and namespace in other branches
  1. 6.2 content_lock.api.inc \hook_content_lock_locked()
  2. 7.3 content_lock.api.php \hook_content_lock_locked()
  3. 7.2 content_lock.api.php \hook_content_lock_locked()

Respond to a lock being successfully set.

This hook is called from content_lock_node() only after a lock was successfully set on a particular node by a user.

Parameters

$nid: The nid of the node which was successfully locked.

$uid: The uid of the user who initiated the locking.

Related topics

1 function implements hook_content_lock_locked()

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

content_lock_timeout_content_lock_locked in modules/content_lock_timeout/content_lock_timeout.module
Implementation of hook_content_lock_locked().
1 invocation of hook_content_lock_locked()
content_lock_node in ./content_lock.module
Try to lock a document for editing.

File

./content_lock.api.inc, line 130
Document content_lock hooks.

Code

function hook_content_lock_locked($nid, $uid) {

  /*
   * At the moment, I can't think of what sort of thing one would want
   * to do here. Please file an issue with ideas :-).
   */
}