You are here

function _content_lock_add_nodeadministration in Content locking (anti-concurrent editing) 6

1 call to _content_lock_add_nodeadministration()
content_lock_form_alter in ./content_lock.module
Implementation of hook_form_alter().

File

./content_lock.module, line 277
Allows users to lock documents for modification.

Code

function _content_lock_add_nodeadministration(&$form, $form_state, $form_id) {
  $form['buttons']['#prefix'] = "<div class='buttons-wrapper'>";
  $form['buttons']['#suffix'] = "</div>";
}