public UserInterface::removeRole($rid)
Remove a role from a user.
Parameters
string $rid: The role ID to remove.
File
- core/modules/user/src/UserInterface.php, line 41
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\user
Code
public function removeRole($rid);
Please login to continue.