public function TeamRoleInterface::grantPermission in Apigee Edge 8
Grant permissions to the role.
Parameters
string $permission: The permission to grant.
1 method overrides TeamRoleInterface::grantPermission()
- TeamRole::grantPermission in modules/
apigee_edge_teams/ src/ Entity/ TeamRole.php - Grant permissions to the role.
File
- modules/
apigee_edge_teams/ src/ Entity/ TeamRoleInterface.php, line 51
Class
- TeamRoleInterface
- Provides an interface for defining Team Role entities.
Namespace
Drupal\apigee_edge_teams\EntityCode
public function grantPermission($permission) : void;