You are here

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

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function getParent() {
  return $this->parent ? static::load($this->parent) : NULL;
}