You are here

function farm_install_theme in farmOS 7

Callback for farmOS theme install task.

File

./farm.install, line 232
farmOS install file.

Code

function farm_install_theme() {

  // Enable farm theme and set as default.
  theme_enable(array(
    'farm_theme',
  ));
  variable_set('theme_default', 'farm_theme');

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