You are here

function content_lock_hook_info in Content locking (anti-concurrent editing) 7.3

Same name and namespace in other branches
  1. 8.2 content_lock.module \content_lock_hook_info()
  2. 8 content_lock.module \content_lock_hook_info()

Implements hook_hook_info().

File

./content_lock.module, line 33

Code

function content_lock_hook_info() {
  $hooks = array(
    'content_lock_path_protected',
    'content_lock_skip_locking',
    'content_lock_form_id_blacklist_alter',
    'content_lock_node_type_blacklist_alter',
    'content_lock_locked',
    'content_lock_release',
    'content_lock_entity_lockable',
    'content_lock_node_lockable',
  );
  return array_fill_keys($hooks, array(
    'group' => 'content_lock',
  ));
}