You are here

function fraction_entity_test_uninstall in Fraction 7

Implements hook_uninstall().

File

tests/fraction_entity_test/fraction_entity_test.install, line 106

Code

function fraction_entity_test_uninstall() {

  // Delete fraction field and instance.
  foreach (_fraction_entity_test_default_instances() as $instance) {
    field_delete_instance($instance);
  }
  foreach (_fraction_entity_test_default_fields() as $field) {
    field_delete_field($field['field_name']);
  }
}