Form submission handler.
array $form: An associative array containing the structure of the form.
array $form_state: An associative array containing the current state of the form.
Overrides FormInterface::submitForm
public function submitForm(array &$form, array &$form_state) {
$this->configTest
->delete();
drupal_set_message(String::format('%label configuration has been deleted.', array(
'%label' => $this->configTest
->label(),
)));
$form_state['redirect'] = 'admin/structure/config_test';
}