string $ban_id: The IP address record ID to unban.
Overrides ConfirmFormBase::buildForm
public function buildForm(array $form, array &$form_state, $ban_id = '') {
if (!($this->banIp = $this->ipManager
->findById($ban_id))) {
throw new NotFoundHttpException();
}
return parent::buildForm($form, $form_state);
}