function locale_theme

Same name in other branches
  1. 7.x modules/locale/locale.module \locale_theme()
  2. 8.9.x core/modules/locale/locale.module \locale_theme()
  3. 10 core/modules/locale/locale.module \locale_theme()
  4. 11.x core/modules/locale/locale.module \locale_theme()

Implements hook_theme().

File

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

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',
        ],
    ];
}

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