public function WebformGroupManager::isGroupRoleTokenEnabled in Webform 8.5
Same name and namespace in other branches
- 6.x 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 117
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]);
}