public function CitationStyler::setLanguageCode in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 src/CitationStyler.php \Drupal\bibcite\CitationStyler::setLanguageCode()
Set language code.
Parameters
string $lang_code: Language code.
Return value
\Drupal\bibcite\CitationStylerInterface The called Styler object.
Overrides CitationStylerInterface::setLanguageCode
File
- src/
CitationStyler.php, line 182
Class
- CitationStyler
- Render CSL data to bibliographic citation.
Namespace
Drupal\bibciteCode
public function setLanguageCode($lang_code) {
// @todo M? $this->langCode maybe?
$this->lang = $lang_code;
return $this;
}