public function GroupContentEnablerInterface::getPermissions 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.
Deprecated
in Group 1.0, will be removed before Group 2.0. Retrieve the permission_provider handler from the plugin manager instead.
See also
GroupPermissionHandlerInterface::getPermissions()
1 method overrides GroupContentEnablerInterface::getPermissions()
- GroupContentEnablerBase::getPermissions in src/
Plugin/ GroupContentEnablerBase.php - Provides a list of group permissions the plugin exposes.
File
- src/
Plugin/ GroupContentEnablerInterface.php, line 244
Class
- GroupContentEnablerInterface
- Defines an interface for pluggable GroupContentEnabler back-ends.
Namespace
Drupal\group\PluginCode
public function getPermissions();