You are here

function tableofcontents_block_install in Table of Contents 7

Same name and namespace in other branches
  1. 6.3 tableofcontents_block/tableofcontents_block.install \tableofcontents_block_install()

Implementation of hook_install()

File

tableofcontents_block/tableofcontents_block.install, line 13
tableofcontents_block.install

Code

function tableofcontents_block_install() {
  variable_set('tableofcontents_hide_table_block', FALSE);
  variable_set('tableofcontents_automatic_block', 1);
  variable_set('tableofcontents_allow_override_block', FALSE);
  variable_set('tableofcontents_back_to_top_block', '');
  variable_set('tableofcontents_back_to_top_location_block', 'header');
  variable_set('tableofcontents_back_to_top_anchor_block', 'toc');
  variable_set('tableofcontents_scroll_back_to_top_block', 'FALSE');
  variable_set('tableofcontents_number_headers_block', FALSE);
}