function hostmaster_task_finalize

7.x-3.x hostmaster.install hostmaster_task_finalize()
1 call to hostmaster_task_finalize()
hostmaster_install in ./hostmaster.install
Implement hook_install().

File

./hostmaster.install, line 204

Code

function hostmaster_task_finalize() {
  variable_set('install_profile', 'hostmaster');

  // Enable Eldir, and set is as default theme
  theme_enable(array('eldir'));
  variable_set('theme_default', 'eldir');

  // Disable the default Bartik theme
  theme_disable(array('bartik'));

  drupal_set_message(st('Configuring default blocks'));
  hostmaster_place_blocks('eldir');

  // Save "menu_options" for our content types, so they don't offer to be put in menus.
  variable_set('menu_options_client', array());
  variable_set('menu_options_platform', array());
  variable_set('menu_options_server', array());
  variable_set('menu_options_site', array());

}