public function ConfigurableLanguage::getId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::getId()
- 9 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 236
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\EntityCode
public function getId() {
return $this
->id();
}