function book_admin_settings_submit

Form submission handler for book_admin_settings().

See also

book_admin_settings_validate()

File

drupal/core/modules/book/book.admin.inc, line 89
Admin page callbacks for the book module.

Code

function book_admin_settings_submit($form, &$form_state) {
  config('book.settings')
    ->set('allowed_types', $form_state['values']['book_allowed_types'])
    ->set('child_type', $form_state['values']['book_child_type'])
    ->save();
}