You are here

public function LPManagedLink::setRequiredScore in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/Entity/LPManagedLink.php \Drupal\opigno_learning_path\Entity\LPManagedLink::setRequiredScore()

Sets minimum score to go from parent content to child content.

File

src/Entity/LPManagedLink.php, line 166

Class

LPManagedLink
Defines the Learning Path Link entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function setRequiredScore($required_score) {
  $this
    ->set('required_score', $required_score);
  return $this;
}