RoleInterface::setIsAdmin

public RoleInterface::setIsAdmin($is_admin)

Sets the role to be an admin role.

Parameters

bool $is_admin: TRUE if the role should be an admin role.

Return value

$this

File

core/modules/user/src/RoleInterface.php, line 80

Class

RoleInterface
Provides an interface defining a user role entity.

Namespace

Drupal\user

Code

public function setIsAdmin($is_admin);
doc_Drupal
2016-10-29 09:38:52
Comments
Leave a Comment

Please login to continue.