You are here

public function OpignoGroupManagedContent::getSuccessScoreMin in Opigno group manager 3.x

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

Returns success score min.

Return value

int The minimum score to success this learning path.

1 call to OpignoGroupManagedContent::getSuccessScoreMin()
OpignoGroupManagedContent::getNextStep in src/Entity/OpignoGroupManagedContent.php
Get the next LPManagedContent object according to the user score.

File

src/Entity/OpignoGroupManagedContent.php, line 182

Class

OpignoGroupManagedContent
Defines the Opigno Group Content entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

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