function LanguageThemeHooks::theme

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/language/src/Hook/LanguageThemeHooks.php, line 20

Class

LanguageThemeHooks
Hook implementations for language.

Namespace

Drupal\language\Hook

Code

public function theme() : array {
  return [
    'language_negotiation_configure_form' => [
      'render element' => 'form',
      'initial preprocess' => static::class . ':preprocessLanguageNegotiationConfigureForm',
    ],
    'language_content_settings_table' => [
      'render element' => 'element',
      'initial preprocess' => static::class . ':preprocessLanguageContentSettingsTable',
    ],
  ];
}

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