You are here

public function CslStyle::setCslText in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/CslStyle.php \Drupal\bibcite\Entity\CslStyle::setCslText()

Set text of CSL style.

Parameters

string $csl_text: The new CSL text.

Return value

$this

Overrides CslStyleInterface::setCslText

File

src/Entity/CslStyle.php, line 110

Class

CslStyle
Defines the CSL style entity.

Namespace

Drupal\bibcite\Entity

Code

public function setCslText($csl_text) {
  $this->csl = $csl_text;
  return $this;
}