You are here

function locale_translation_clear_cache_projects in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/locale.translation.inc \locale_translation_clear_cache_projects()

Clears the projects cache.

2 calls to locale_translation_clear_cache_projects()
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects in core/modules/locale/src/Tests/LocaleTranslationProjectsTest.php
Tests locale_translation_clear_cache_projects().
locale_translation_build_projects in core/modules/locale/locale.compare.inc
Builds list of projects and stores the result in the database.

File

core/modules/locale/locale.translation.inc, line 85
Common API for interface translation.

Code

function locale_translation_clear_cache_projects() {
  drupal_static_reset('locale_translation_get_projects');
}