function simpletest_example_update_7001

Adds a body field to the simpletest_example node type.

Related topics

File

simpletest_example/simpletest_example.install, line 25

Code

function simpletest_example_update_7001() {
    node_types_rebuild();
    $types = node_type_get_types();
    node_add_body_field($types['simpletest_example']);
}