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.

Support from Acquia helps fund testing for Drupal Acquia logo

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)