public function CitationStyler::getStyle in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x src/CitationStyler.php \Drupal\bibcite\CitationStyler::getStyle()
Get current CSL style.
Return value
\Drupal\bibcite\Entity\CslStyleInterface|null Current CSL style.
Overrides CitationStylerInterface::getStyle
File
- src/
CitationStyler.php, line 139
Class
- CitationStyler
- Render CSL data to bibliographic citation.
Namespace
Drupal\bibciteCode
public function getStyle() {
if (!$this->style) {
$this
->setStyleById($this->configuration
->get('default_style'));
}
return $this->style;
}