You are here

public function Harbourmaster::buildForm in Thunder 8.4

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

Overrides AbstractOptionalModule::buildForm

File

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

Class

Harbourmaster
Harbourmaster.

Namespace

Drupal\thunder\Plugin\Thunder\OptionalModule

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  $form['harbourmaster']['description'] = [
    '#type' => 'item',
    '#markup' => $this
      ->t('Integrates Harbourmaster providing a single sign-on solution for Drupal. You will need an instance of the harbourmaster running. See <a href=":url" target="_blank">harbourmaster documentation</a> for more details.', [
      ':url' => 'https://valiton.github.io/harbourmaster-docs/index.html',
    ]),
  ];
  return $form;
}