You are here

function taxonomy_service_save_term in Services 7

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

Services interface to taxonomy_save_term().

See also

taxonomy_save_term().

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

File

services/taxonomy_service/taxonomy_service.inc, line 45
@author Services Dev Team

Code

function taxonomy_service_save_term($term) {
  if (!is_array($term)) {
    $term = (array) $term;
  }
  return taxonomy_save_term($term);
}