You are here

public function Cookie::submitConfigurationForm in Pardot Integration 2.x

File

src/Plugin/PardotFormMapFormatterPlugin/Cookie.php, line 83

Class

Cookie
Plugin to capture browser cookies and send them to pardot.

Namespace

Drupal\pardot\Plugin\PardotFormMapFormatterPlugin

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['cookie_name'] = $form_state
    ->getValue('cookie_name');
}