Needs review
Project:
Entity Reference Dialog Formatter
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Feb 2021 at 18:17 UTC
Updated:
27 Jan 2026 at 17:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bamberjp commentedComment #3
bamberjp commentedChanged path check to regex for language support.
Comment #4
phjouNice feature, but the test of the path should simply check the route name than doing a preg_match that will fail if someone create an alias on one of those paths.
Comment #5
replicaobscuraThanks for the patch! I totally agree with preventing these pages from being indexed, but I also agree that it would be best if we could use the route name for this instead of relying on path matching.
Comment #8
scottsawyerI took a different tact. Instead of adding a noindex to the rendered dialog result, I added a nofollow to the link.
Comment #9
scottsawyerPlease see MR
Comment #12
scottsawyerOk, I noticed a problem saving the field settings (forgot the default value). I left the default value as FALSE to not accidentally break existing expectations, though I would prefer "nofollow" be the default.
I also cleaned up some of the string translations, I couldn't resist.