You are here

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

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

Get Module Randomization setting.

1 call to OpignoModule::getRandomization()
OpignoModule::getRandomActivity in src/Entity/OpignoModule.php
Returns random activity.

File

src/Entity/OpignoModule.php, line 189

Class

OpignoModule
Defines the Module entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getRandomization() {
  return $this
    ->get('randomization')->value;
}