Issue #2865455 by rocket.man: Prefer toUrl over deprecated urlInfo.' --author="rocket.man <rocket.man@3404050.no-reply.drupal.org>"