function taxonomy_terms_static_reset

Clear all static cache variables for terms.

2 calls to taxonomy_terms_static_reset()
HooksTest::testTaxonomyTermHooks in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/HooksTest.php
Test hooks on CRUD of terms.
TermTest::testNodeTermCreationAndDeletion in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
Test term creation with a free-tagging vocabulary from the node form.

File

drupal/core/modules/taxonomy/taxonomy.module, line 612
Enables the organization of content into categories.

Code

function taxonomy_terms_static_reset() {
  entity_get_controller('taxonomy_term')
    ->resetCache();
}