Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've got a rules link field in views. Works well if the user has permission to use the rules link, but if they don't have permission then the link is not displayed (correct) but the actual field is. I have a table and the column is displayed. Is there a way to exclude the field?
Comments
Comment #1
sepgil CreditAttribution: sepgil commentedYou can configured that in views:
Go to your field settings for the link. Open the "No Result Behaviour" fieldset and check the "Hide if empty" checkbox. Save the field settings and your view, and the rules link field won't be rendered, if empty.
Comment #2
sepgil CreditAttribution: sepgil commented