You are here

public function SiteimproveDomainBase::buildForm in Siteimprove 8

Form constructor.

Build Siteimprove Domain plugin settings form.

Parameters

array $form: Build form for setting up plugin.

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

string $plugin_definition: Plugin definition.

Overrides SiteimproveDomainInterface::buildForm

3 calls to SiteimproveDomainBase::buildForm()
DomainAccess::buildForm in siteimprove_domain_access/src/Plugin/SiteimproveDomain/DomainAccess.php
Form constructor.
Simple::buildForm in src/Plugin/SiteimproveDomain/Simple.php
Form constructor.
Single::buildForm in src/Plugin/SiteimproveDomain/Single.php
Form constructor.
3 methods override SiteimproveDomainBase::buildForm()
DomainAccess::buildForm in siteimprove_domain_access/src/Plugin/SiteimproveDomain/DomainAccess.php
Form constructor.
Simple::buildForm in src/Plugin/SiteimproveDomain/Simple.php
Form constructor.
Single::buildForm in src/Plugin/SiteimproveDomain/Single.php
Form constructor.

File

src/Plugin/SiteimproveDomainBase.php, line 72

Class

SiteimproveDomainBase
Base class for Siteimprove domain plugins.

Namespace

Drupal\siteimprove\Plugin

Code

public function buildForm(array &$form, FormStateInterface &$form_state, $plugin_definition) {
  $form[$plugin_definition['id']] = [
    '#type' => 'fieldset',
    '#title' => $plugin_definition['label'],
  ];
}