taxonomy_vocabulary_static_reset
function taxonomy_vocabulary_static_reset
taxonomy_vocabulary_static_reset(array $ids = NULL)
Clear all static cache variables for vocabularies.
Parameters
$ids: An array of ids to reset in the entity cache.
File
- core/modules/taxonomy/taxonomy.module, line 286
- Enables the organization of content into categories.
Code
function taxonomy_vocabulary_static_reset(array $ids = NULL) { \Drupal::entityManager()->getStorage('taxonomy_vocabulary')->resetCache($ids); }
© 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.
登录查看完整内容