You are here

function book_access_edit_form_submit in Book access 6.2

Same name and namespace in other branches
  1. 6 book_access.module \book_access_edit_form_submit()
  2. 7.2 book_access.module \book_access_edit_form_submit()
  3. 1.x book_access.module \book_access_edit_form_submit()

Form submission callback for node_form().

See also

node_form()

book_outline_form()

book_access_form_alter()

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']);
}