You are here

public function BarAdminPermissionProvider::__construct in Group 2.0.x

Constructs a new BarAdminPermissionProvider.

Parameters

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

File

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

Class

BarAdminPermissionProvider
Alters admin permission for a specific plugin to original + 'bar'.

Namespace

Drupal\group_test_plugin_alter\Plugin\Group\RelationHandler

Code

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