I noticed while working on #2696979: Active items should have an active class that the LinksWidget was a bit overly complex. 3 places used the same code. This is no longer the case now.
borisson_ created an issue. See original summary.
Issue #2710189 by borisson_: Simplify the LinksWidget
Automatically closed - issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.