taxonomy_terms_static_reset
function taxonomy_terms_static_reset
taxonomy_terms_static_reset()
Clear all static cache variables for terms.
File
- modules/taxonomy/taxonomy.module, line 956
- Enables the organization of content into categories.
Code
function taxonomy_terms_static_reset() { drupal_static_reset('taxonomy_term_count_nodes'); drupal_static_reset('taxonomy_get_tree'); drupal_static_reset('taxonomy_get_tree:parents'); drupal_static_reset('taxonomy_get_tree:terms'); drupal_static_reset('taxonomy_get_parents'); drupal_static_reset('taxonomy_get_parents_all'); drupal_static_reset('taxonomy_get_children'); entity_get_controller('taxonomy_term')->resetCache(); }
© 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_terms_static_reset/7.x