You are here

public function IvwIntegration::buildForm in Thunder 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/Thunder/OptionalModule/IvwIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\IvwIntegration::buildForm()
  2. 8.3 src/Plugin/Thunder/OptionalModule/IvwIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\IvwIntegration::buildForm()

Overrides AbstractOptionalModule::buildForm

File

src/Plugin/Thunder/OptionalModule/IvwIntegration.php, line 22

Class

IvwIntegration
IVW Integration.

Namespace

Drupal\thunder\Plugin\Thunder\OptionalModule

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  $form['ivw_integration']['ivw_site'] = [
    '#type' => 'textfield',
    '#title' => $this
      ->t('IVW Site name'),
    '#description' => $this
      ->t('Site name as given by IVW, this is used as default for the "st" parameter in the iam_data object'),
  ];
  $form['ivw_integration']['mobile_site'] = [
    '#type' => 'textfield',
    '#title' => $this
      ->t('IVW Mobile Site name'),
    '#description' => $this
      ->t('Mobile site name as given by IVW, this is used as default for the "st" parameter in the iam_data object'),
  ];
  return $form;
}