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.
Can we hook the inlinks_is_published() function to allow custom modules to override the definition of what a published node is. We want the links to be displayed if unpublished, just to those users that have access to see unpublished content.
Comment | File | Size | Author |
---|---|---|---|
#1 | published_alter_hook-2204923-0.patch | 1.11 KB | Adrian Richardson |
Comments
Comment #1
Adrian Richardson CreditAttribution: Adrian Richardson commentedPatch attached
Comment #2
Adrian Richardson CreditAttribution: Adrian Richardson commentedThis patch adds a hook_intlinks_is_published_alter(&$access, $nid)