function content_lock_hook_info in Content locking (anti-concurrent editing) 8
Same name and namespace in other branches
- 8.2 content_lock.module \content_lock_hook_info()
- 7.3 content_lock.module \content_lock_hook_info()
Implements hook_hook_info().
File
- ./
content_lock.module, line 49 - Content lock - Main functions of the module.
Code
function content_lock_hook_info() {
$hooks = [
'content_lock_locked',
'content_lock_release',
'content_lock_entity_lockable',
];
return array_fill_keys($hooks, [
'group' => 'content_lock',
]);
}