function book_access_edit_form_submit in Book access 7.2
Same name and namespace in other branches
- 6.2 book_access.module \book_access_edit_form_submit()
- 6 book_access.module \book_access_edit_form_submit()
- 1.x book_access.module \book_access_edit_form_submit()
Form submission callback for node_form(), and book_outline_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 1156 - Allows to set the access control for book nodes on a per book basis. Based on forum_access.module and tac_lite.module.
Code
function book_access_edit_form_submit($form, &$form_state) {
BookAccess::writeGrantRecords($form['#node']);
}