public function PardotCampaignFormBase::submitForm in Pardot Integration 8
Converts submitted form values into plugin configuration array.
Overrides EntityForm::submitForm
File
- src/
Form/ PardotCampaignFormBase.php, line 185
Class
- PardotCampaignFormBase
- Class PardotCampaignFormBase.
Namespace
Drupal\pardot\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
// Submit condition plugin configurations.
$this->path_condition
->submitConfigurationForm($form, $form_state);
$form_state
->setValue('pages', $this->path_condition
->getConfiguration());
parent::submitForm($form, $form_state);
}