You are here

public function OpignoGroupManagedLink::setRequiredScore 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::setRequiredScore()

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

Parameters

int $required_score: The minimum score to go from parent content to child content.

Return value

$this

File

src/Entity/OpignoGroupManagedLink.php, line 222

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

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