When referencing a term using visibility rules we can only reference the 'tid'. It would be nice if we could instead leverage 'uuid'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sylus’s picture

Status: Active » Needs review
FileSize
4.3 KB

Attaching patch.

joseph.olstad’s picture

Here's a slight cleanup for the above patch (to avoid the warning message "new blank line at EOF")

joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

Thanks Sylus

We've been relying on this patch for months and it works. It worked on previous commits of uuid and it works on the latest uuid revision a7bf2db

right now we're using uuid revision a7bf2db with this patch (and several others)

gnucifer’s picture

Manuel Garcia’s picture

Thanks for the patch, it looks good to me. However given that the module is on Maintenance fixes only at this point, if we were to add something like this I would be in favour of getting #2716025: CTools Entity UUID access plugin in rather than this plugin for just taxonomy terms.