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->ipManager
->unbanIp($this->banIp);
watchdog('user', 'Deleted %ip', array(
'%ip' => $this->banIp,
));
drupal_set_message(t('The IP address %ip was deleted.', array(
'%ip' => $this->banIp,
)));
$form_state['redirect'] = 'admin/config/people/ban';
}