You are here

public function HomeboxInterface::setRoles in Homebox 8

Sets the list of user role IDs.

Parameters

array $roles: The list of user role IDs.

Return value

$this

1 method overrides HomeboxInterface::setRoles()
Homebox::setRoles in src/Entity/Homebox.php
Sets the list of user role IDs.

File

src/Entity/HomeboxInterface.php, line 70

Class

HomeboxInterface
Provides an interface for defining Homebox entities.

Namespace

Drupal\homebox\Entity

Code

public function setRoles(array $roles);