You are here

public static function LearningPathAccess::getUserMemberEvents in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/LearningPathAccess.php \Drupal\opigno_learning_path\LearningPathAccess::getUserMemberEvents()

Returns user subscription events.

1 call to LearningPathAccess::getUserMemberEvents()
LearningPathAccess::notifyUsersByMail in src/LearningPathAccess.php
Prepares and sends emails to users.

File

src/LearningPathAccess.php, line 267

Class

LearningPathAccess
Class LearningPathAccess.

Namespace

Drupal\opigno_learning_path

Code

public static function getUserMemberEvents() {
  return [
    '1' => 'subscribed',
    '2' => 'approval',
    '3' => 'blocked',
  ];
}