You are here

public function PardotContactFormMapFormBase::updateMapSettings in Pardot Integration 8

Updates the form with field mapping table.

Parameters

array $form: The build form.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

\Drupal\Core\Ajax\AjaxResponse Ajax response with updated options for the embed type.

File

src/Form/PardotContactFormMapFormBase.php, line 251

Class

PardotContactFormMapFormBase
Class PardotContactFormMapFormBase.

Namespace

Drupal\pardot\Form

Code

public function updateMapSettings(array &$form, FormStateInterface $form_state) {
  return $form['container'];
}