You are here

public function Meeting::addNotifiedMember in Opigno Moxtra 8

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

Adds member that received the email notification to the meeting.

Parameters

int $uid: The user ID.

Return value

$this

Overrides MeetingInterface::addNotifiedMember

File

src/Entity/Meeting.php, line 278

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function addNotifiedMember($uid) {
  $this
    ->get('notified_members')
    ->appendItem([
    'target_id' => $uid,
  ]);
  return $this;
}