You are here

public function GroupRoleInterface::revokePermission in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/GroupRoleInterface.php \Drupal\group\Entity\GroupRoleInterface::revokePermission()

Revokes a permission from the role.

Parameters

string $permission: The permission to revoke.

Return value

\Drupal\group\Entity\GroupRoleInterface The group role this was called on.

1 method overrides GroupRoleInterface::revokePermission()
GroupRole::revokePermission in src/Entity/GroupRole.php
Revokes a permission from the role.

File

src/Entity/GroupRoleInterface.php, line 145

Class

GroupRoleInterface
Provides an interface defining a group role entity.

Namespace

Drupal\group\Entity

Code

public function revokePermission($permission);