I have read through the issue at #2769191: Invalid condition operator when matching against Config Entities., and I see that contact forms are not available as a matcher

But my client needs to be able to easily add links to several contact forms, and does not use the personal contact form. We are likely to ajaxify these links in a modal popup, so solutions like creating content entities and adding contact forms to those just so we can link to them are not very appropriate.

So this is a combination feature request / support request to add a specific matcher for contact forms. A few nudges in the right direction would be appreciated, thanks.

CommentFileSizeAuthor
#2 how_to_add_a_contact-2844788-2.patch4.46 KBanon

Comments

John Pitcairn created an issue. See original summary.

anon’s picture

Status: Active » Needs review
StatusFileSize
new4.46 KB

This patch adds a match for contact forms. It will NOT include the "Personal contact form" as it will need a context Linkit can't handle.

Status: Needs review » Needs work

The last submitted patch, 2: how_to_add_a_contact-2844788-2.patch, failed testing.

johnpitcairn’s picture

Status: Needs work » Needs review

Well that made my day, thanks. Works for me.

I suspect the CI error is transient, re-testing.

johnpitcairn’s picture

Status: Needs review » Reviewed & tested by the community

Does the personal contact form restriction need documenting? If so, where?

anon’s picture

Title: (How to) add a contact form matcher » Add a contact form matcher

  • anon committed f6a2453 on 8.x-5.x
    Issue #2844788 by anon: Add a contact form matcher
    
anon’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.