public function ContentTypeInterface::getContent in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/ContentTypeInterface.php \Drupal\opigno_group_manager\ContentTypeInterface::getContent()
Get the entity as a LearningPathContent.
Parameters
int $entity_id: The entity ID.
Return value
LearningPathContent|false The content loaded in a LearningPathContent. FALSE if not possible to load.
File
- src/
ContentTypeInterface.php, line 47
Class
- ContentTypeInterface
- Interface ContentTypeInterface.
Namespace
Drupal\opigno_group_managerCode
public function getContent($entity_id);