Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LanguageManagerInterface.php

function LanguageManagerInterface::getLanguageName

Produced the printed name for a language for display.

Parameters

string $langcode: The language code.

Return value

string The printed name of the language.

1 method overrides LanguageManagerInterface::getLanguageName()
LanguageManager::getLanguageName in core/lib/Drupal/Core/Language/LanguageManager.php
Produced the printed name for a language for display.

File

core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 116

Class

LanguageManagerInterface
Common interface for the language manager service.

Namespace

Drupal\Core\Language

Code

public function getLanguageName($langcode);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal