function bookblock_block_configure in Book Block 7
Implements hook_block_configure().
File
- ./
bookblock.module, line 97 - Enables users to add specific book navigation blocks on non-book pages.
Code
function bookblock_block_configure($delta) {
$form['bookblock_block_options'] = array(
'#type' => 'checkbox',
'#title' => t('Allow menu to expand'),
'#default_value' => variable_get('bookblock_block_options_' . $delta, TRUE),
'#description' => t("If checked, the menu will expand to show child pages as the user navigates through the book. Otherwise it will only show the first level of links. You may not want the menu to expand in the footer, for example."),
);
return $form;
}