You are here

public function HubspotWebformHandler::getSettings in HubSpot 8

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

Class

HubspotWebformHandler
Webform submission remote post handler.

Namespace

Drupal\hubspot\Plugin\WebformHandler

Code

public function getSettings() : array {
  $configuration = $this
    ->getConfiguration();
  return $configuration['settings'] ?? [];
}