You are here

locale.post_update.php in Drupal 8

Post-update functions for Locale module.

File

core/modules/locale/locale.post_update.php
View source
<?php

/**
 * @file
 * Post-update functions for Locale module.
 */

/**
 * Clear cache to ensure plural translations are removed from it.
 */
function locale_post_update_clear_cache_for_old_translations() {

  // Remove cache of translations, like '@count[2] words'.
}

Functions

Namesort descending Description
locale_post_update_clear_cache_for_old_translations Clear cache to ensure plural translations are removed from it.