You are here

public function OpignoGroupManagedLink::getRequiredScore in Opigno group manager 3.x

Same name and namespace in other branches
  1. 8 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;
}