You are here

public function GroupContentPermissionProviderInterface::getRelationDeletePermission in Group 8

Gets the name of the delete permission for the relation.

Parameters

string $scope: (optional) Whether the 'any' or 'own' permission name should be returned. Defaults to 'any'.

Return value

string|false The permission name or FALSE if it does not apply.

1 method overrides GroupContentPermissionProviderInterface::getRelationDeletePermission()
GroupContentPermissionProvider::getRelationDeletePermission in src/Plugin/GroupContentPermissionProvider.php
Gets the name of the delete permission for the relation.

File

src/Plugin/GroupContentPermissionProviderInterface.php, line 52

Class

GroupContentPermissionProviderInterface
Provides a common interface for group content permission providers.

Namespace

Drupal\group\Plugin

Code

public function getRelationDeletePermission($scope = 'any');