public function CslStyle::getParent in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x src/Entity/CslStyle.php \Drupal\bibcite\Entity\CslStyle::getParent()
Get parent style.
Return value
\Drupal\bibcite\Entity\CslStyleInterface|null Parent style object or NULL.
Overrides CslStyleInterface::getParent
File
- src/
Entity/ CslStyle.php, line 163
Class
- CslStyle
- Defines the CSL style entity.
Namespace
Drupal\bibcite\EntityCode
public function getParent() {
return $this->parent ? static::load($this->parent) : NULL;
}