function simpletest_example_install

Implements hook_install().

Related topics

File

simpletest_example/simpletest_example.install, line 13

Code

function simpletest_example_install() {
    // Ensure the simpletest_example node type is available.
    node_types_rebuild();
    $types = node_type_get_types();
    node_add_body_field($types['simpletest_example']);
}