function locale_translation_status_delete_projects

Same name in other branches
  1. 9 core/modules/locale/locale.module \locale_translation_status_delete_projects()
  2. 8.9.x core/modules/locale/locale.module \locale_translation_status_delete_projects()
  3. 10 core/modules/locale/locale.module \locale_translation_status_delete_projects()

Delete project entries from the status cache.

Parameters

array $projects: Project name(s) to be deleted from the cache.

2 calls to locale_translation_status_delete_projects()
locale_system_remove in core/modules/locale/locale.module
Delete translation history of modules and themes.
locale_translation_batch_version_check in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().

File

core/modules/locale/locale.module, line 955

Code

function locale_translation_status_delete_projects($projects) {
    \Drupal::keyValue('locale.translation_status')->deleteMultiple($projects);
}

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