Same name and namespace in other branches
- 4.7.x modules/taxonomy.module \_taxonomy_depth()
3 calls to _taxonomy_depth()
- taxonomy_form_all in modules/
taxonomy.module - Generate a set of options for selecting a term from all vocabularies. Can be passed to form_select.
- taxonomy_overview in modules/
taxonomy.module - Generate a tabular listing of administrative functions for vocabularies.
- _taxonomy_term_select in modules/
taxonomy.module
File
- modules/
taxonomy.module, line 773 - Enables the organization of content into categories.
Code
function _taxonomy_depth($depth, $graphic = '--') {
for ($n = 0; $n < $depth; $n++) {
$result .= $graphic;
}
return $result;
}