public RoleInterface::revokePermission($permission)
Revokes a permissions from the user role.
Parameters
string $permission: The permission to revoke.
Return value
$this
File
- core/modules/user/src/RoleInterface.php, line 62
Class
- RoleInterface
- Provides an interface defining a user role entity.
Namespace
Drupal\user
Code
public function revokePermission($permission);
Please login to continue.