You are here

public function OpignoGroupManagedLink::getRequiredScore in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoGroupManagedLink.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedLink::getRequiredScore()

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

Return value

int The minimum score to go from parent content to child content.

File

src/Entity/OpignoGroupManagedLink.php, line 210

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getRequiredScore() {
  return $this
    ->get('required_score')->value;
}