You are here

function taxonomy_service_save_vocabulary in Services 7

Same name and namespace in other branches
  1. 6.2 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 58
@author Services Dev Team

Code

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