function _content_lock_form_handler in Content locking (anti-concurrent editing) 7.3
Form alter handler callback.
1 call to _content_lock_form_handler()
- content_lock_form_alter in ./
content_lock.module - Implements hook_form_alter().
File
- includes/
content_lock.func.inc, line 11 - content_lock.func.inc
Code
function _content_lock_form_handler(&$form, &$form_state, $form_id, $callback = '') {
// Load module inc file.
module_load_include('inc', 'content_lock', 'includes/content_lock.forms');
if (!empty($callback) && function_exists($callback)) {
$callback($form, $form_state, $form_id);
}
}