public function CustomLanguage::getId in Custom Language field 8
Gets the ID (language code).
Return value
string The language code.
Overrides LanguageInterface::getId
File
- src/
Entity/ CustomLanguage.php, line 115
Class
- CustomLanguage
- Defines the CustomLanguage entity.
Namespace
Drupal\languagefield\EntityCode
public function getId() {
return $this
->id();
}