public function PermissionProviderTrait::buildPermissions in Group 2.0.x
4 methods override PermissionProviderTrait::buildPermissions()
- FullEntityPermissionProvider::buildPermissions in tests/
modules/ group_test_plugin/ src/ Plugin/ Group/ RelationHandler/ FullEntityPermissionProvider.php - Provides a list of group permissions the plugin exposes.
- GroupMembershipPermissionProvider::buildPermissions in src/
Plugin/ Group/ RelationHandler/ GroupMembershipPermissionProvider.php - Provides a list of group permissions the plugin exposes.
- GroupNodePermissionProvider::buildPermissions in modules/
gnode/ src/ Plugin/ Group/ RelationHandler/ GroupNodePermissionProvider.php - Provides a list of group permissions the plugin exposes.
- PermissionProvider::buildPermissions in src/
Plugin/ Group/ RelationHandlerDefault/ PermissionProvider.php - Provides a list of group permissions the plugin exposes.
File
- src/
Plugin/ Group/ RelationHandler/ PermissionProviderTrait.php, line 83
Class
- PermissionProviderTrait
- Trait for group relation permission providers.
Namespace
Drupal\group\Plugin\Group\RelationHandlerCode
public function buildPermissions() {
if (!isset($this->parent)) {
throw new \LogicException('Using PermissionProviderTrait without assigning a parent or overwriting the methods.');
}
return $this->parent
->buildPermissions();
}