public function HubspotWebformHandler::getSettings in HubSpot 3.x
Same name and namespace in other branches
- 8 src/Plugin/WebformHandler/HubspotWebformHandler.php \Drupal\hubspot\Plugin\WebformHandler\HubspotWebformHandler::getSettings()
Get hubspot settings.
Return value
array An associative array containing hubspot configuration values.
Overrides WebformPluginSettingsTrait::getSettings
2 calls to HubspotWebformHandler::getSettings()
- HubspotWebformHandler::buildConfigurationForm in src/
Plugin/ WebformHandler/ HubspotWebformHandler.php - Form constructor.
- HubspotWebformHandler::remotePost in src/
Plugin/ WebformHandler/ HubspotWebformHandler.php - Execute a remote post.
File
- src/
Plugin/ WebformHandler/ HubspotWebformHandler.php, line 649
Class
- HubspotWebformHandler
- Webform submission remote post handler.
Namespace
Drupal\hubspot\Plugin\WebformHandlerCode
public function getSettings() : array {
$configuration = $this
->getConfiguration();
return $configuration['settings'] ?? [];
}