Disables a Translator object.
\Drupal\tmgmt\TranslatorInterface $tmgmt_translator: The Translator object to disable.
\Symfony\Component\HttpFoundation\RedirectResponse A redirect response to the tmgmt listing page.
function disable(TranslatorInterface $tmgmt_translator) {
$tmgmt_translator
->disable()
->save();
return new RedirectResponse(url('admin/tmgmt/translators', array(
'absolute' => TRUE,
)));
}