public function LPStatus::isStarted in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPStatus.php \Drupal\opigno_learning_path\Entity\LPStatus::isStarted()
Checks if the training finished.
Return value
\Drupal\opigno_learning_path\LatestActivityInterface Boolean, true if the training was started, false otherwise.
Overrides LPStatusInterface::isStarted
File
- src/
Entity/ LPStatus.php, line 198
Class
- LPStatus
- Defines the User Learning Path attempt status entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function isStarted() {
return (bool) $this->started->value != 0;
}