/**
* Loads a taxonomy vocabulary.
* @param {Number} vid
* @param {Object} options
*/
function taxonomy_vocabulary_load(vid, options) {
try {
entity_load('taxonomy_vocabulary', vid, options);
}
catch (error) { console.log('taxonomy_vocabulary_load - ' + error); }
}
/**
* Saves a taxonomy vocabulary.
* @param {Object} taxonomy_vocabulary
* @param {Object} options
*/
function taxonomy_vocabulary_save(taxonomy_vocabulary, options) {
try {
entity_save('taxonomy_vocabulary', null, taxonomy_vocabulary, options);
}
catch (error) { console.log('taxonomy_vocabulary_save - ' + error); }
}