You are here

public function HubspotWebformHandler::setSettings in HubSpot 8

Same name and namespace in other branches
  1. 3.x 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 287

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);
}