You are here

function _taxonomy_get_tid_from_term in Drupal 7

Same name and namespace in other branches
  1. 4 modules/taxonomy.module \_taxonomy_get_tid_from_term()
  2. 5 modules/taxonomy/taxonomy.module \_taxonomy_get_tid_from_term()
  3. 6 modules/taxonomy/taxonomy.module \_taxonomy_get_tid_from_term()

Helper function for array_map purposes.

File

modules/taxonomy/taxonomy.module, line 1407
Enables the organization of content into categories.

Code

function _taxonomy_get_tid_from_term($term) {
  return $term->tid;
}