public function LPManagedContent::hasChildLink in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::hasChildLink()
If has child links.
File
- src/
Entity/ LPManagedContent.php, line 242
Class
- LPManagedContent
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function hasChildLink() {
return !empty($this
->getChildrenLinks());
}