You are here

public function ConfigurableLanguage::getId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::getId()

Gets the ID (language code).

Return value

string The language code.

Overrides LanguageInterface::getId

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 213
Contains \Drupal\language\Entity\ConfigurableLanguage.

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function getId() {
  return $this
    ->id();
}