You are here

public function WebformGroupManagerInterface::getCurrentUserGroupRoles in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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_group

Code

public function getCurrentUserGroupRoles();