RoleInterface::revokePermission

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);
doc_Drupal
2016-10-29 09:38:51
Comments
Leave a Comment

Please login to continue.