public function WebformSubmissionValue::submitConfigurationForm in Pardot Integration 2.x
File
- src/
Plugin/ PardotFormMapFormatterPlugin/ WebformSubmissionValue.php, line 171
Class
- WebformSubmissionValue
- Plugin to generate a text field and consume tokens for mappings.
Namespace
Drupal\pardot\Plugin\PardotFormMapFormatterPluginCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$values = $form_state
->getValues();
$container = $values['settings_container'];
$this->configuration['element'] = $container['element'];
$this->configuration['properties']['format'] = $container['format'] ?? '';
$this->configuration['properties']['format_items'] = $container['format_items'] ?? '';
}