Allow entering paths instead of nodes

Created on 9 November 2023, about 1 year ago
Updated 20 April 2024, 9 months ago

Problem/Motivation

The module currently only works with nodes. Instead, it should also work with other paths that are not nodes, like for example:

  • System Pages
  • Custom Routes provided by other modules

= any internal path

I think best would be to use the same logics that are also used by other modules and for example by core in custom menu items.

This is the link_default widget used in core:
https://api.drupal.org/api/drupal/core%21modules%21link%21src%21Plugin%2...
it uses
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
form element.

Steps to reproduce

Enter for example a custom path from the Homebox module, e.g. /dashboard It's not treated as a valid path.
Also other entity paths like taxonomy terms, the user page (/user), etc. don't work.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024