public function CslStyle::hasParent in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 src/Entity/CslStyle.php \Drupal\bibcite\Entity\CslStyle::hasParent()
Check if this style has a prent style.
Return value
bool Boolean indicate the existence of parent.
Overrides CslStyleInterface::hasParent
File
- src/
Entity/ CslStyle.php, line 156
Class
- CslStyle
- Defines the CSL style entity.
Namespace
Drupal\bibcite\EntityCode
public function hasParent() {
return !empty($this->parent);
}