You are here

public function Meeting::getNotifiedMembersIds in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Entity/Meeting.php \Drupal\opigno_moxtra\Entity\Meeting::getNotifiedMembersIds()

Returns meeting members ids that received the email notification.

Return value

int[] Array of users IDs.

Overrides MeetingInterface::getNotifiedMembersIds

1 call to Meeting::getNotifiedMembersIds()
Meeting::getNotifiedMembers in src/Entity/Meeting.php
Returns members of the meeting that received the email notification.

File

src/Entity/Meeting.php, line 298

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getNotifiedMembersIds() {
  $values = $this
    ->get('notified_members')
    ->getValue();
  return array_map(function ($value) {
    return $value['target_id'];
  }, $values);
}