You are here

function taxonomy_csv_vocabulary_get_terms in Taxonomy CSV import/export 7.5

Return an array of all full terms of a given vocabulary.

Parameters

$vid: The vocabulary id from where to fetch term ids.

Return value

Array of full term.

File

./taxonomy_csv.vocabulary.api.inc, line 129
Prepare and manage vocabularies.

Code

function taxonomy_csv_vocabulary_get_terms($vid) {
  $result = taxonomy_csv_vocabulary_get_tids($vid);
  return taxonomy_term_load_multiple($result);
}