You are here

public function TwitterWidgetSettingsForm::buildForm in Twitter Profile Widget 8

Defines the settings form for Twitter widget entities.

Parameters

array $form: An associative array containing the structure of the form.

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

Return value

array Form definition array.

Overrides FormInterface::buildForm

File

src/Form/TwitterWidgetSettingsForm.php, line 50

Class

TwitterWidgetSettingsForm
Class TwitterWidgetSettingsForm.

Namespace

Drupal\twitter_profile_widget\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form['TwitterWidget_settings']['#markup'] = 'Settings form for Twitter widget entities. Manage field settings here.';
  return $form;
}