locale.post_update.php

Same filename in other branches
  1. 9 core/modules/locale/locale.post_update.php
  2. 10 core/modules/locale/locale.post_update.php
  3. 11.x core/modules/locale/locale.post_update.php

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

Title Deprecated Summary
locale_post_update_clear_cache_for_old_translations Clear cache to ensure plural translations are removed from it.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.