This project is not covered by Drupal’s security advisory policy.

Alters entity links to use the rabbit_hole settings.

Features

This module changes the behavior of links, linking to an entity using
rabbit_hole behaviors. It uses the configuration to manipulate the link to
change as follows:

  • If the behavior is set to "Page not Found" or "Access Denied" it will disable the link.
  • If the behavior is set to "Redirect" the configured redirect url will be used directly for creating the link to avoid the redirect for the user.

Rabbit hole links will respect the bypass permissions by only changing the links
behavior when the user does not have the "rabbit hole bypass [entity_type_id]"
permission.

Requirements

Similar projects

  • Rabbit hole href

    Provides similar functionality but uses a rabbit_hole behavior plugin to manipulate the href with a custom url. Rabbit hole links automatically does this by using the redirect functionality and has additional behavior for disabling links when "Page not found" or "Access Denied" is configured.

Supporting organizations: 

Project information

Releases