You are here

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

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

Get random activity score.

File

src/Entity/OpignoModule.php, line 225

Class

OpignoModule
Defines the Module entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getRandomActivityScore() {
  return $this
    ->get('random_activity_score')->value;
}