function migrate_example_beer_uninstall in Migrate 7.2
Same name and namespace in other branches
- 6.2 migrate_example/beer.install.inc \migrate_example_beer_uninstall()
1 call to migrate_example_beer_uninstall()
- migrate_example_uninstall in migrate_example/
migrate_example.install
File
- migrate_example/
beer.install.inc, line 41 - Set up for the beer (basic) example.
Code
function migrate_example_beer_uninstall() {
if ($vids = taxonomy_vocabulary_load_multiple(array(), array(
'machine_name' => 'migrate_example_beer_styles',
))) {
// Grab key of the first returned vocabulary.
taxonomy_vocabulary_delete(key($vids));
}
migrate_example_beer_content_type_delete();
}