You are here

function _taxonomy_vocabulary_resource_retrieve in Services 7.3

Same name and namespace in other branches
  1. 6.3 resources/taxonomy_resource.inc \_taxonomy_vocabulary_resource_retrieve()

Return the results of taxonomy_vocabulary_load() for a specified vocabulary id.

Parameters

$vid: Unique identifier for the taxonomy term to retrieve.

Return value

A vocabulary object or FALSE.

See also

taxonomy_vocabulary_load()

1 string reference to '_taxonomy_vocabulary_resource_retrieve'
_taxonomy_resource_definition in resources/taxonomy_resource.inc
@file Link general taxonomy functionalities to services module.

File

resources/taxonomy_resource.inc, line 445
Link general taxonomy functionalities to services module.

Code

function _taxonomy_vocabulary_resource_retrieve($vid) {
  return taxonomy_vocabulary_load($vid);
}