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.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

Adrian Richardson’s picture

Patch attached

Adrian Richardson’s picture

Status: Active » Needs review

This patch adds a hook_intlinks_is_published_alter(&$access, $nid)