public function WebformGroupManagerInterface::getCurrentUserGroupRoles in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_group/src/WebformGroupManagerInterface.php \Drupal\webform_group\WebformGroupManagerInterface::getCurrentUserGroupRoles()
Get the current user's group roles.
Return value
array|bool An array containing the current user's group roles. FALSE if no group content is found for the current request.
1 method overrides WebformGroupManagerInterface::getCurrentUserGroupRoles()
- WebformGroupManager::getCurrentUserGroupRoles in modules/
webform_group/ src/ WebformGroupManager.php - Get the current user's group roles.
File
- modules/
webform_group/ src/ WebformGroupManagerInterface.php, line 37
Class
- WebformGroupManagerInterface
- Defines an interface for the webform group manager.
Namespace
Drupal\webform_groupCode
public function getCurrentUserGroupRoles();