public function WebformCiviCRMSettingsForm::buildForm in Webform CiviCRM Integration 8.5
@todo slowly move parts of the D7 handling into here.
Overrides FormInterface::buildForm
File
- src/
Form/ WebformCiviCRMSettingsForm.php, line 51
Class
Namespace
Drupal\webform_civicrm\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$webform = $this
->getWebform();
$admin_form = \Drupal::service('webform_civicrm.admin_form')
->initialize($form, $form_state, $webform);
$form = $admin_form
->buildForm();
return $form;
}