function _taxonomy_get_tid_from_term

_taxonomy_get_tid_from_term($term)

Helper function for array_map purposes.

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/_taxonomy_get_tid_from_term/7.x