You are here

public function WebformGroupManager::isGroupOwnerTokenEnable in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_group/src/WebformGroupManager.php \Drupal\webform_group\WebformGroupManager::isGroupOwnerTokenEnable()

Determine if the group owner token is enabled.

Return value

bool TRUE if the group owner token is enabled.

Overrides WebformGroupManagerInterface::isGroupOwnerTokenEnable

File

modules/webform_group/src/WebformGroupManager.php, line 106

Class

WebformGroupManager
Webform group manager manager.

Namespace

Drupal\webform_group

Code

public function isGroupOwnerTokenEnable() {
  return $this->configFactory
    ->get('webform_group.settings')
    ->get('mail.group_owner') ?: FALSE;
}