You are here

public function ILT::getNotifiedMembers in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Entity/ILT.php \Drupal\opigno_ilt\Entity\ILT::getNotifiedMembers()

Returns the recipients for email notification to the ILT.

Return value

\Drupal\user\Entity\User[] Array of users.

Overrides ILTInterface::getNotifiedMembers

File

src/Entity/ILT.php, line 332

Class

ILT
Defines the ILT entity.

Namespace

Drupal\opigno_ilt\Entity

Code

public function getNotifiedMembers() {
  $ids = $this
    ->getNotifiedMembersIds();
  return User::loadMultiple($ids);
}