public static function LearningPathAccess::getMembershipStatusesArray in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/LearningPathAccess.php \Drupal\opigno_learning_path\LearningPathAccess::getMembershipStatusesArray()
Returns user membership statuses array.
2 calls to LearningPathAccess::getMembershipStatusesArray()
- LearningPathAccess::getMembershipStatus in src/
LearningPathAccess.php - Returns user membership status.
- opigno_learning_path_form_alter in ./
opigno_learning_path.module - Implements hook_form_alter().
File
- src/
LearningPathAccess.php, line 239
Class
- LearningPathAccess
- Class LearningPathAccess.
Namespace
Drupal\opigno_learning_pathCode
public static function getMembershipStatusesArray() {
return [
'1' => t('Active'),
'2' => t('Pending'),
'3' => t('Blocked'),
];
}