public function submitForm(array &$form, FormStateInterface $form_state) {
$config = $this
->config('paragraphs.settings');
$config
->set('show_unpublished', $form_state
->getValue('show_unpublished'));
$config
->save();
parent::submitForm($form, $form_state);
}