You are here

public function ILT::setMembersIds in Opigno Instructor-led Trainings 3.x

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

Set members to the ILT.

Parameters

int[] $ids: The users IDs.

Return value

$this

Overrides ILTInterface::setMembersIds

File

src/Entity/ILT.php, line 278

Class

ILT
Defines the ILT entity.

Namespace

Drupal\opigno_ilt\Entity

Code

public function setMembersIds(array $ids) {
  $this
    ->set('members', $ids);
  return $this;
}