Implements hook_uninstall().
function taxonomy_uninstall() {
// Remove taxonomy_term bundles.
$config_names = config_get_storage_names_with_prefix('taxonomy.vocabulary.');
foreach ($config_names as $config_name) {
$vid = substr($config_name, strlen('taxonomy.vocabulary.'));
entity_invoke_bundle_hook('delete', 'taxonomy_term', $vid);
}
}