You are here

public function LanguageInterface::getId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getId()

Gets the ID (language code).

Return value

string The language code.

2 methods override LanguageInterface::getId()
ConfigurableLanguage::getId in core/modules/language/src/Entity/ConfigurableLanguage.php
Gets the ID (language code).
Language::getId in core/lib/Drupal/Core/Language/Language.php
Gets the ID (language code).

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 119
Contains \Drupal\Core\Language\LanguageInterface.

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function getId();