You are here

public function FooAdminPermissionProvider::__construct in Group 2.0.x

Constructs a new FooAdminPermissionProvider.

Parameters

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

File

tests/modules/group_test_plugin_alter/src/Plugin/Group/RelationHandler/FooAdminPermissionProvider.php, line 21

Class

FooAdminPermissionProvider
Alters admin permission for all plugins to original + 'foo'.

Namespace

Drupal\group_test_plugin_alter\Plugin\Group\RelationHandler

Code

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