public function CslStyle::setCustom in Bibliography & Citation 8
Same name and namespace in other branches
- 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\EntityCode
public function setCustom($custom) {
$this->custom = (bool) $custom;
return $this;
}