function LocaleHooks::theme
Implements hook_theme().
File
-
core/
modules/ locale/ src/ Hook/ LocaleHooks.php, line 92
Class
- LocaleHooks
- Hook implementations for locale.
Namespace
Drupal\locale\HookCode
public function theme() : array {
return [
'locale_translation_last_check' => [
'variables' => [
'last' => NULL,
],
'file' => 'locale.pages.inc',
],
'locale_translation_update_info' => [
'variables' => [
'updates' => [],
'not_found' => [],
],
'file' => 'locale.pages.inc',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.