You are here

function locale_theme in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \locale_theme()
  2. 6 modules/locale/locale.module \locale_theme()
  3. 7 modules/locale/locale.module \locale_theme()
  4. 10 core/modules/locale/locale.module \locale_theme()

Implements hook_theme().

File

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

Code

function locale_theme() {
  return [
    'locale_translation_last_check' => [
      'variables' => [
        'last' => NULL,
      ],
      'file' => 'locale.pages.inc',
    ],
    'locale_translation_update_info' => [
      'variables' => [
        'updates' => [],
        'not_found' => [],
      ],
      'file' => 'locale.pages.inc',
    ],
  ];
}