Provide a method ::getAsUrl

Created on 2 February 2021, about 4 years ago
Updated 19 February 2025, about 2 months ago

Problem/Motivation

I'm currently writing a custom module in which I need the Flag URL. Currently the only way is to call the getAsLink method, but it would be nice if there also was a getAsUrl method in which I can get the Url as an URL object.

📌 Task
Status

Needs work

Version

4.0

Component

Flag core

Created by

🇧🇪Belgium JeroenT 🇧🇪

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024