/** * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { $this->configRevert->delete($this->type, $this->name); drupal_set_message($this->t('The configuration was deleted.')); $form_state->setRedirectUrl($this->getCancelUrl()); }