You are here

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

File

src/Plugin/PardotFormMapFormatterPlugin/DefaultValue.php, line 82

Class

DefaultValue
Plugin to select from the list of fields.

Namespace

Drupal\pardot\Plugin\PardotFormMapFormatterPlugin

Code

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