You are here

function locale_translation_status_delete_projects in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \locale_translation_status_delete_projects()
  2. 9 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.

1 call to locale_translation_status_delete_projects()
locale_system_remove in core/modules/locale/locale.module
Delete translation history of modules and themes.

File

core/modules/locale/locale.module, line 972
Enables the translation of the user interface to languages other than English.

Code

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