You are here

public function GroupNodePermissionProvider::__construct in Group 2.0.x

Constructs a new GroupMembershipPermissionProvider.

Parameters

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

File

modules/gnode/src/Plugin/Group/RelationHandler/GroupNodePermissionProvider.php, line 22

Class

GroupNodePermissionProvider
Provides group permissions for the group_node relation plugin.

Namespace

Drupal\gnode\Plugin\Group\RelationHandler

Code

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