'Default', ]; } /** * {@inheritdoc} */ public function buildConfigurationForm(array $form, FormStateInterface $form_state) { $configuration = $this->getConfiguration(); $form['setting_1'] = [ '#type' => 'textfield', '#title' => 'Blah', '#default_value' => $configuration['setting_1'], ]; return $form; } /** * @inheritDoc */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); $this->configuration['setting_1'] = $form_state->getValue('setting_1'); } }