You are here

public function GroupContentPermissionProvider::getAdminPermission in Group 8

Gets the name of the admin permission.

Return value

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

Overrides GroupContentPermissionProviderInterface::getAdminPermission

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

File

src/Plugin/GroupContentPermissionProvider.php, line 63

Class

GroupContentPermissionProvider
Provides group permissions for GroupContent entities.

Namespace

Drupal\group\Plugin

Code

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