You are here

function taxonomy_vocabulary_save in Migrate 6.2

2 calls to taxonomy_vocabulary_save()
migrate_example_beer_tags in migrate_example/beer.install.inc
migrate_example_wine_categories in migrate_example/wine.install.inc

File

includes/d7.inc, line 22
Drupal 7 functions 'n' things implemented in Drupal 6, to ease backporting

Code

function taxonomy_vocabulary_save(&$vocabulary) {
  if (!is_array($vocabulary)) {
    $vocabulary = (array) $vocabulary;
  }
  return taxonomy_save_vocabulary($vocabulary);
}