function LocaleHooks::theme

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/locale/src/Hook/LocaleHooks.php, line 96

Class

LocaleHooks
Hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

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.