function book_access_edit_form_submit in Book access 6.2
Same name and namespace in other branches
- 6 book_access.module \book_access_edit_form_submit()
- 7.2 book_access.module \book_access_edit_form_submit()
- 1.x book_access.module \book_access_edit_form_submit()
Form submission callback for node_form().
See also
1 string reference to 'book_access_edit_form_submit'
- book_access_form_alter in ./
book_access.module - Implements hook_form_alter().
File
- ./
book_access.module, line 914 - Allows to set the access control for book nodes on a per book basis. It is based on forum_access.module and tac_lite.module.
Code
function book_access_edit_form_submit($form, &$form_state) {
BookAccess::writeGrantRecords($form['#node']);
}