You are here

function csl_citation::render in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/CiteProc/CSL.inc \csl_citation::render()
  2. 7 modules/CiteProc/CSL.inc \csl_citation::render()

Overrides csl_rendering_element::render

File

modules/CiteProc/CSL.inc, line 1309

Class

csl_citation

Code

function render($data, $mode = NULL) {
  $text = $this->layout
    ->render($data, 'citation');
  return $this
    ->format($text);
}