public function ILT::getNotifiedMembersIds in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Entity/ILT.php \Drupal\opigno_ilt\Entity\ILT::getNotifiedMembersIds()
Returns ids of the recipient for email notification to the ILT.
Return value
int[] Array of users IDs.
Overrides ILTInterface::getNotifiedMembersIds
1 call to ILT::getNotifiedMembersIds()
- ILT::getNotifiedMembers in src/
Entity/ ILT.php - Returns the recipients for email notification to the ILT.
File
- src/
Entity/ ILT.php, line 314
Class
- ILT
- Defines the ILT entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function getNotifiedMembersIds() {
$values = $this
->get('notified_members')
->getValue();
return array_map(function ($value) {
return $value['target_id'];
}, $values);
}