function locale_theme in Drupal 8
Same name and namespace in other branches
- 6 modules/locale/locale.module \locale_theme()
- 7 modules/locale/locale.module \locale_theme()
- 9 core/modules/locale/locale.module \locale_theme()
- 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',
],
];
}