function LocaleTranslatableProject::setLangcode
Same name and namespace in other branches
- 11.x core/modules/locale/src/LocaleTranslatableProject.php \Drupal\locale\LocaleTranslatableProject::setLangcode()
Sets the language code.
Parameters
string $langcode: The language code.
Return value
$this
File
-
core/
modules/ locale/ src/ LocaleTranslatableProject.php, line 87
Class
- LocaleTranslatableProject
- Translatable project for interface translation.
Namespace
Drupal\localeCode
public function setLangcode(string $langcode) : static {
$this->langcode = $langcode;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.