function i18nTaxonomyTestCase::drupalCreateTerms in Internationalization 7
File
- i18n_taxonomy/
i18n_taxonomy.test, line 171 - Test case for multilingual taxonomy
Class
- i18nTaxonomyTestCase
- @file Test case for multilingual taxonomy
Code
function drupalCreateTerms($number = 1, $data = array()) {
$list = array();
for ($i = 1; $i <= $number; $i++) {
$term = $this
->createTerm($data);
$list[$term->tid] = $term;
}
return $list;
}