There currently isn't a way to limit a page manager variant to a certain UUID without eval'ed PHP code. This turns out to be pretty useful in exported content and features, and it's simple enough. Patch attached adds an access condition for a specified entity UUID. This could also be expanded to a "has a UUID" condition pretty easily if anyone has a need for this.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ctools_access_check_for-1556140-5.patch | 1.55 KB | annya |
Comments
Comment #1
ekes commentedNot tested with 7 yet, it's simple enough though. I've reused it for D6 Node UUID access - sandboxed here: https://drupal.org/sandbox/ekes/1816632 and working well.
Comment #3
skwashd commentedCTools now supports UUIDs for certain things. I think the feature request belongs in their queue.
Comment #4
michelleFixing the projects for other people who got confused by "Ctools" in the autocomplete like I did. :)
Comment #5
annya commentedFix rbayliss's patch. Let's see if it passes tests and review :)
Comment #6
chris matthews commentedThe 5 year old patch in #5 to entity_uuid.inc applied cleanly to the latest ctools 7.x-1.x-dev and (if still applicable) needs review.