You are here

public function BazAdminPermissionProvider::__construct in Group 2.0.x

Constructs a new BazAdminPermissionProvider.

Parameters

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

File

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

Class

BazAdminPermissionProvider
Alters admin permission for a specific plugin to original + 'baz'.

Namespace

Drupal\group_test_plugin_alter\Plugin\Group\RelationHandler

Code

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