You are here

function taxonomy_service_save_vocabulary in Services 6.2

Same name and namespace in other branches
  1. 7 services/taxonomy_service/taxonomy_service.inc \taxonomy_service_save_vocabulary()

Services interface to taxonomy_save_vocabulary().

See also

taxonomy_save_vocabulary().

1 string reference to 'taxonomy_service_save_vocabulary'
taxonomy_service_service in services/taxonomy_service/taxonomy_service.module
Implementation of hook_service().

File

services/taxonomy_service/taxonomy_service.inc, line 57
Link general taxonomy functionalities to services module.

Code

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