You are here

public function GroupContentPermissionProviderInterface::buildPermissions in Group 8

Provides a list of group permissions the plugin exposes.

If you have some group permissions that would only make sense when your plugin is installed, you may define those here. They will not be shown on the permission configuration form unless the plugin is installed.

Return value

array An array of group permissions, see GroupPermissionHandlerInterface for the structure of a group permission.

See also

GroupPermissionHandlerInterface::getPermissions()

1 method overrides GroupContentPermissionProviderInterface::buildPermissions()
GroupContentPermissionProvider::buildPermissions in src/Plugin/GroupContentPermissionProvider.php
Provides a list of group permissions the plugin exposes.

File

src/Plugin/GroupContentPermissionProviderInterface.php, line 147

Class

GroupContentPermissionProviderInterface
Provides a common interface for group content permission providers.

Namespace

Drupal\group\Plugin

Code

public function buildPermissions();