You are here

public function GroupMembershipPermissionProvider::__construct in Group 2.0.x

Constructs a new GroupMembershipPermissionProvider.

Parameters

\Drupal\group\Plugin\Group\RelationHandler\PermissionProviderInterface $parent: The default permission provider.

File

src/Plugin/Group/RelationHandler/GroupMembershipPermissionProvider.php, line 18

Class

GroupMembershipPermissionProvider
Provides group permissions for the group_membership relation plugin.

Namespace

Drupal\group\Plugin\Group\RelationHandler

Code

public function __construct(PermissionProviderInterface $parent) {
  $this->parent = $parent;
}