function LocaleTranslatableProject::getLangcode
Returns the project langcode.
Return value
string|null Returns the language code or NULL if it was not set.
File
-
core/
modules/ locale/ src/ LocaleTranslatableProject.php, line 98
Class
- LocaleTranslatableProject
- Translatable project for interface translation.
Namespace
Drupal\localeCode
public function getLangcode() : ?string {
return $this->langcode;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.