You are here

public function WebformSubmissionValue::defaultConfiguration in Pardot Integration 2.x

File

src/Plugin/PardotFormMapFormatterPlugin/WebformSubmissionValue.php, line 69

Class

WebformSubmissionValue
Plugin to generate a text field and consume tokens for mappings.

Namespace

Drupal\pardot\Plugin\PardotFormMapFormatterPlugin

Code

public function defaultConfiguration() {
  return [
    'element' => '',
    'single_format' => 'value',
    'multiple_format' => 'comma',
    'hash' => rand(),
    'disallowed_field_types' => [
      'webform_actions',
    ],
  ];
}