You are here

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

File

src/Plugin/PardotFormMapFormatterPlugin/Token.php, line 90

Class

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

Namespace

Drupal\pardot\Plugin\PardotFormMapFormatterPlugin

Code

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