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