You are here

public function HubspotWebformHandler::setSettings in HubSpot 3.x

Same name and namespace in other branches
  1. 8 src/Plugin/WebformHandler/HubspotWebformHandler.php \Drupal\hubspot\Plugin\WebformHandler\HubspotWebformHandler::setSettings()

Set hubspot settings.

Parameters

array $settings: An associative array containing hubspot configuration values.

Overrides WebformPluginSettingsTrait::setSettings

1 call to HubspotWebformHandler::setSettings()
HubspotWebformHandler::submitConfigurationForm in src/Plugin/WebformHandler/HubspotWebformHandler.php
Form submission handler.

File

src/Plugin/WebformHandler/HubspotWebformHandler.php, line 660

Class

HubspotWebformHandler
Webform submission remote post handler.

Namespace

Drupal\hubspot\Plugin\WebformHandler

Code

public function setSettings(array $settings) {
  $configuration = $this
    ->getConfiguration();
  $configuration['settings'] = $settings;
  $this
    ->setConfiguration($configuration);
}