protected function PermissionProvider::getRelationCreatePermission in Group 2.0.x
Gets the name of the create permission for the relation.
Return value
string|false The permission name or FALSE if it does not apply.
1 call to PermissionProvider::getRelationCreatePermission()
- PermissionProvider::getPermission in src/
Plugin/ Group/ RelationHandlerDefault/ PermissionProvider.php - Gets the name of the permission for the given operation, target and scope.
File
- src/
Plugin/ Group/ RelationHandlerDefault/ PermissionProvider.php, line 199
Class
- PermissionProvider
- Provides group permissions for group relation plugins.
Namespace
Drupal\group\Plugin\Group\RelationHandlerDefaultCode
protected function getRelationCreatePermission() {
return "create {$this->pluginId} relation";
}