This project is not covered by Drupal’s security advisory policy.
Link Selection Handler is a module that provides a field widget for link fields that allows configuration of autocomplete results when searching for internal links.
By default, Drupal link field widgets use a hard-coded entity autocomplete result, which would make finding nodes with the same title difficult.
This allows a link widget to utilize Entity Reference selection handlers such as provided by Views.
Post-Installation
- Enable the module.
- Visit the “Manage form display” page of an entity with a link field.
- Choose “Link with selection handler” from the Widget select list.
- Press the “Edit” button (Gear icon).
- The additional configuration will be displayed similar to how Entity Reference field settings work.
Known issues
- #3365642: Fix field widget settings form to update after handle change. To work around this, simply press the Update button after ensuring valid form values, then press the Edit button again and configure the Reference method settings. This can also be worked around by manually editing the configuration yaml with the appropriate configuration and re-synchronizing configuration.
- As this is its own field widget, other modules that provide alternative field widgets cannot be used in the same form display such as the useful Link Attributes module.
Supporting organizations:
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Site structure
6 sites report using this module
- Created by mradcliffe on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha1
released 15 August 2024
Works with Drupal: ^10 || ^11
tagged alpha release
Install:
Development version: 1.0.x-dev updated 18 Jul 2024 at 18:56 UTC
