public function OpignoGroupManagedContent::hasChildLink in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoGroupManagedContent.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedContent::hasChildLink()
Checks if this content has a child.
Return value
bool TRUE if this content has a child. FALSE otherwise.
Throws
InvalidPluginDefinitionException
File
- src/
Entity/ OpignoGroupManagedContent.php, line 333
Class
- OpignoGroupManagedContent
- Defines the Opigno Group Content entity.
Namespace
Drupal\opigno_group_manager\EntityCode
public function hasChildLink() {
return !empty($this
->getChildrenLinks());
}