public function WebformGroupManager::isGroupRoleTokenEnabled in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_group/src/WebformGroupManager.php \Drupal\webform_group\WebformGroupManager::isGroupRoleTokenEnabled()
Determine if the group role token is enabled.
Return value
bool TRUE if the group role token is enabled.
Overrides WebformGroupManagerInterface::isGroupRoleTokenEnabled
File
- modules/
webform_group/ src/ WebformGroupManager.php, line 113
Class
- WebformGroupManager
- Webform group manager manager.
Namespace
Drupal\webform_groupCode
public function isGroupRoleTokenEnabled($group_role_id) {
$allowed_group_role_tokens = $this
->getAllowedGroupRoleTokens();
return isset($allowed_group_role_tokens[$group_role_id]);
}