You are here

public function EmptyPermissionProvider::__construct in Group 2.0.x

Constructs a new EmptyPermissionProvider.

Parameters

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

File

src/Plugin/Group/RelationHandler/EmptyPermissionProvider.php, line 21

Class

EmptyPermissionProvider
Provides a default group permissions handler.

Namespace

Drupal\group\Plugin\Group\RelationHandler

Code

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