You are here

function opigno_learning_path_get_meeting_step in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 opigno_learning_path.module \opigno_learning_path_get_meeting_step()

Builds up a training live meeting step.

Parameters

int $group_id: Training group ID.

int $uid: User ID.

\Drupal\opigno_moxtra\MeetingInterface $meeting: Opigno Moxtra Meeting entity.

Return value

array Data array about step in a group for a user.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

3 calls to opigno_learning_path_get_meeting_step()
opigno_learning_path_get_all_steps in ./opigno_learning_path.module
Builds up a full list of all the steps in a group for a user.
opigno_learning_path_get_steps in ./opigno_learning_path.module
Builds up a list of steps in a group for a user.
opigno_learning_path_get_steps_current_attempt in ./opigno_learning_path.module
Builds a list of group steps for a user current attempt.

File

./opigno_learning_path.module, line 2535
Contains opigno_learning_path.module.

Code

function opigno_learning_path_get_meeting_step($group_id, $uid, MeetingInterface $meeting) {
  $opigno_lps = Drupal::service('opigno_lps');
  return $opigno_lps
    ->getMeetingStep($group_id, $uid, $meeting);
}