getUriAsDisplayableString as a public static function

Created on 4 May 2021, over 3 years ago
Updated 20 November 2024, about 22 hours ago

Problem/Motivation

Having a custom form with an entity_autocomplete type that accepts internal and external links. It would be nice to load the default value without internal:// in the string.

Proposed resolution

Make getUriAsDisplayableString in the LinkWidget public or add a similar function somewhere else? If there already is one I apologize I could not find it.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

routing system

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

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