protected function getHistoryRoute(EntityTypeInterface $entity_type) {
    if ($entity_type->hasLinkTemplate('version-history')) {
      $route = new Route($entity_type->getLinkTemplate('version-history'));
      $route
        ->setDefaults([
          '_title' => "{$entity_type->getLabel()} revisions",
          '_controller' => '\Drupal\openy_upgrade_tool\Controller\OpenyUpgradeLogController::revisionOverview',
        ])
        ->setRequirement('_permission', 'access openy upgrade log revisions')
        ->setOption('_admin_route', TRUE);

      return $route;
    }
  }