You are here

function sbp_test_install in Search by Page 7

Same name and namespace in other branches
  1. 6 tests/sbp_test.install \sbp_test_install()

Makes sure that the body field is added to our content types.

File

tests/sbp_test.install, line 29
Install file for Search by Page testing module

Code

function sbp_test_install() {
  node_types_rebuild();
  $types = node_type_get_types();
  node_add_body_field($types['sbp_indexed']);
  node_add_body_field($types['sbp_hidden']);
}