This is a question about the Link module. Since with the Link module you can enter external or internal links both, we strongly rely on it.
Unfortunately the number of items to be displayed from its autocomplete field is limited to 10. We have a lot of nodes with nearly identical titles and so it comes that the node we are searching for doesn’t get displayed in the autocomplete field when there are more than 10 matching titles.
The limit is hardcoded in core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php
. Is there an elegant way to increase this little number from within a custom module? Do I have to extend class EntityAutocompleteMatcher
? Where would I have to place my extension and how to ensure it gets executed from within the link widget?