You are here

function ds_test_install in Display Suite 7

Same name and namespace in other branches
  1. 8.4 tests/modules/ds_test/ds_test.module \ds_test_install()
  2. 8.3 tests/modules/ds_test/ds_test.module \ds_test_install()
  3. 7.2 tests/ds_test.module \ds_test_install()

Implements hook_install().

File

tests/ds_test.module, line 11
Display Suite test module.

Code

function ds_test_install() {
  variable_set('ds_extras_region_to_block', TRUE);
  variable_set('ds_extras_switch_view_mode', TRUE);
  variable_set('ds_extras_hide_page_title', TRUE);
  variable_set('ds_extras_field_template', TRUE);
  variable_set('ds_extras_revision_view_mode', TRUE);
  variable_set('ds_extras_fields_extra', TRUE);
  variable_set('ds_extras_fields_extra_list', "node|article|ds_extras_extra_test_field\nnode|article|ds_extras_second_field");
  variable_set('ds_extras_vd', TRUE);
}