You are here

public function PermissionProvider::getAdminPermission in Group 2.0.x

Gets the name of the admin permission.

Return value

string|false The admin permission name or FALSE if none was set.

Overrides PermissionProviderTrait::getAdminPermission

1 call to PermissionProvider::getAdminPermission()
PermissionProvider::buildPermissions in src/Plugin/Group/RelationHandlerDefault/PermissionProvider.php
Provides a list of group permissions the plugin exposes.

File

src/Plugin/Group/RelationHandlerDefault/PermissionProvider.php, line 29

Class

PermissionProvider
Provides group permissions for group relation plugins.

Namespace

Drupal\group\Plugin\Group\RelationHandlerDefault

Code

public function getAdminPermission() {
  return $this->definition['admin_permission'];
}