- '#title' => $this->t('Prefix'),
- '#default_value' => $settings['prefix'],
- ];
-
- $elements['suffix'] = [
- '#type' => 'textfield',
- '#title' => $this->t('Suffix'),
- '#default_value' => $settings['suffix'],
+ '#title' => $this->t('Foo'),
+ '#default_value' => $this->getSetting('foo'),