You are here

public function OpignoModule::setRandomActivityScore in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Entity/OpignoModule.php \Drupal\opigno_module\Entity\OpignoModule::setRandomActivityScore()

Set random activities count.

File

src/Entity/OpignoModule.php, line 253

Class

OpignoModule
Defines the Module entity.

Namespace

Drupal\opigno_module\Entity

Code

public function setRandomActivityScore($value) {
  $this
    ->set('random_activity_score', $value);
  return $this;
}