public function applies(RouteMatchInterface $route_match) {
if (strpos($route_match
->getRouteName(), 'view.tmgmt_local_manage_translate_task') === 0 || strpos($route_match
->getRouteName(), 'view.tmgmt_local_task_overview') === 0 || $route_match
->getParameter('tmgmt_local_task') instanceof LocalTaskInterface || $route_match
->getParameter('tmgmt_local_task_item') instanceof LocalTaskItemInterface) {
return TRUE;
}
return FALSE;
}