public function PardotScoreFormBase::submitForm in Pardot Integration 8
Converts submitted form values into plugin configuration array.
Overrides EntityForm::submitForm
File
- src/
Form/ PardotScoreFormBase.php, line 185
Class
- PardotScoreFormBase
- Class PardotScoreFormBase.
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);
}