Allow to select reference method in link field type for internal links

Created on 7 July 2023, over 2 years ago

Problem/Motivation

As link widget for internal links allows to have entity reference autocomplete, it would be nice to have opportunity to select the reference method the same way as it is possible for entity reference field. This way it would be possible to easily find content that is needed using, for example, views entity reference handler.

Steps to reproduce

Standard Drupal installation, article content type, add link field allowing both internal and external links or only internal.

Proposed resolution

Add 'handler' and 'handler_settings' field settings to link field type.

Remaining tasks

Create patch or MR

User interface changes

Field settings for link field type would have "Reference method" setting, the same as entity reference field.

API changes

None

Data model changes

None

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
LinkΒ  β†’

Last updated about 2 months ago

Created by

πŸ‡©πŸ‡ͺGermany a.dmitriiev

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