Comment on Replace deprecated entity->urlInfo() method with entity->toUrl().