You are here

public function LPManagedContent::getSuccessScoreMin in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::getSuccessScoreMin()

Returns minimum score to success this learning path.

File

src/Entity/LPManagedContent.php, line 151

Class

LPManagedContent
Defines the Learning Path Content entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function getSuccessScoreMin() {
  return $this
    ->get('success_score_min')->value;
}