You are here

public function CslStyle::setCustom in Bibliography & Citation 8

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

Set custom flag for this CSL style.

Parameters

bool $custom: The custom flag.

Return value

$this

Overrides CslStyleInterface::setCustom

File

src/Entity/CslStyle.php, line 148

Class

CslStyle
Defines the CSL style entity.

Namespace

Drupal\bibcite\Entity

Code

public function setCustom($custom) {
  $this->custom = (bool) $custom;
  return $this;
}