You are here

public function Csl::__toString in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 src/Csl.php \Drupal\bibcite\Csl::__toString()

Return XML string.

Return value

string XML content as string.

File

src/Csl.php, line 33

Class

Csl
Simple wrapper for CSL XML.

Namespace

Drupal\bibcite

Code

public function __toString() {
  return (string) $this->xml
    ->asXML();
}