public function submitForm(array &$form, FormStateInterface $form_state) {
/** @var LocalTask $entity */
$entity = $this
->getEntity();
$entity
->unassign();
$entity
->save();
$this
->messenger()
->addStatus(t('Unassigned from translation local task @label.', array(
'@label' => $entity
->label(),
)));
$view = Views::getView('tmgmt_local_task_overview');
$view
->initDisplay();
$form_state
->setRedirect($view
->getUrl()
->getRouteName());
}