You are here

function language_theme in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/language.module \language_theme()
  2. 9 core/modules/language/language.module \language_theme()

Implements hook_theme().

File

core/modules/language/language.module, line 102
Add language handling functionality to Drupal.

Code

function language_theme() {
  return [
    'language_negotiation_configure_form' => [
      'render element' => 'form',
      'file' => 'language.admin.inc',
    ],
    'language_content_settings_table' => [
      'render element' => 'element',
      'file' => 'language.admin.inc',
    ],
  ];
}