You are here

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

File

src/Plugin/FormMapHandlerPlugin/ContactFormMapping.php, line 29

Class

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

Namespace

Drupal\pardot\Plugin\FormMapHandlerPlugin

Code

public function defaultConfiguration() {
  $entity_types = [
    'contact_message',
  ];
  $entity_type_id = 'contact_form';
  $default_values = [
    'entity_types' => $entity_types,
    'entity_type_id' => $entity_type_id,
    'entity_id' => '',
  ] + parent::defaultConfiguration();
  return $default_values;
}