/**
* Loads a taxonomy term.
* @param {Number} tid
* @param {Object} options
*/
function taxonomy_term_load(tid, options) {
try {
entity_load('taxonomy_term', tid, options);
}
catch (error) { console.log('taxonomy_term_load - ' + error); }
}
/**
* Saves a taxonomy term.
* @param {Object} taxonomy_term
* @param {Object} options
*/
function taxonomy_term_save(taxonomy_term, options) {
try {
entity_save('taxonomy_term', null, taxonomy_term, options);
}
catch (error) { console.log('taxonomy_term_save - ' + error); }
}